diff options
| author | Mathias Krause <[email protected]> | 2014-06-06 14:37:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-06 16:08:14 -0700 |
| commit | eb66ec44f867834de054544b09b573de3a7ae456 (patch) | |
| tree | 4fabad7ced4ce6145d44e8e25bd6ee111712e9f8 /scripts/stackusage | |
| parent | 3e4e0f0a8756dade3023d1f47d50fbced7749788 (diff) | |
ipc: constify ipc_ops
There is no need to recreate the very same ipc_ops structure on every
kernel entry for msgget/semget/shmget. Just declare it static and be
done with it. While at it, constify it as we don't modify the structure
at runtime.
Found in the PaX patch, written by the PaX Team.
Signed-off-by: Mathias Krause <[email protected]>
Cc: PaX Team <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions