diff options
author | Oleg Nesterov <oleg@redhat.com> | 2012-01-31 17:14:54 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-13 11:06:06 -0800 |
commit | b49767a65a6454f7d546068a785e25dbb0eabbcd (patch) | |
tree | 609b2aa8fbb525f644bf524837e3bb458c566ae1 /scripts/selinux | |
parent | 401f63716ca0bca1728e55ccf2132fb3785cf5da (diff) | |
download | kernel_samsung_aries-b49767a65a6454f7d546068a785e25dbb0eabbcd.zip kernel_samsung_aries-b49767a65a6454f7d546068a785e25dbb0eabbcd.tar.gz kernel_samsung_aries-b49767a65a6454f7d546068a785e25dbb0eabbcd.tar.bz2 |
proc: unify mem_read() and mem_write()
commit 572d34b946bae070debd42db1143034d9687e13f upstream.
No functional changes, cleanup and preparation.
mem_read() and mem_write() are very similar. Move this code into the
new common helper, mem_rw(), which takes the additional "int write"
argument.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/selinux')
0 files changed, 0 insertions, 0 deletions