Jiri Slaby f1eb1332b8 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>
2010-03-12 15:52:39 -08:00
..
2005-04-16 15:20:36 -07:00
2010-03-12 15:52:32 -08:00
2010-03-12 15:52:39 -08:00
2009-12-16 07:20:09 -08:00
2009-06-18 13:03:56 -07:00
2009-12-16 07:20:10 -08:00
2010-03-12 15:52:39 -08:00
2010-03-12 15:52:32 -08:00
2009-09-23 07:39:29 -07:00