diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-01-08 09:03:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-08 09:03:26 +0100 |
commit | 76704fb56c7317ae02c3267fc31d215f3a2528ca (patch) | |
tree | 9175710b17e36663ef32f49ad990d894ca9d1491 /COPYING | |
parent | sparc: copy_from_user() should not return -EFAULT (diff) | |
download | linux-76704fb56c7317ae02c3267fc31d215f3a2528ca.tar.xz linux-76704fb56c7317ae02c3267fc31d215f3a2528ca.zip |
SPARC: use helpers for rlimits
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
or ACCESS_ONCE if not applicable.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions