diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-03-11 00:23:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-13 00:52:39 +0100 |
commit | f1eb1332b8f07e937add24c6fd2ac40b8737a2f4 (patch) | |
tree | 43bfaac596ae20dcab088b870406e58a2bb4b78a /Documentation/early-userspace | |
parent | copy_signal() cleanup: clean tty_audit_fork() (diff) | |
download | linux-f1eb1332b8f07e937add24c6fd2ac40b8737a2f4.tar.xz linux-f1eb1332b8f07e937add24c6fd2ac40b8737a2f4.zip |
ipc: use rlimit helpers
Make sure compiler won't do weird things with limits. E.g. fetching them
twice may return 2 different values after writable limits are implemented.
I.e. either use rlimit helpers added in
3e10e716abf3c71bdb5d86b8f507f9e72236c9cd ("resource: add helpers for
fetching rlimits") or ACCESS_ONCE if not applicable.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/early-userspace')
0 files changed, 0 insertions, 0 deletions