summaryrefslogtreecommitdiffstats
path: root/security/apparmor
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2013-11-14 23:31:56 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-15 01:32:20 +0100
commit839cc2a94cc3665bafe32203c2f095f4dd470a80 (patch)
treec48aa0e5bcd3f09ad5b7354396a50928c9211155 /security/apparmor
parentlockref: use BLOATED_SPINLOCKS to avoid explicit config dependencies (diff)
downloadlinux-839cc2a94cc3665bafe32203c2f095f4dd470a80.tar.xz
linux-839cc2a94cc3665bafe32203c2f095f4dd470a80.zip
seq_file: introduce seq_setwidth() and seq_pad()
There are several users who want to know bytes written by seq_*() for alignment purpose. Currently they are using %n format for knowing it because seq_*() returns 0 on success. This patch introduces seq_setwidth() and seq_pad() for allowing them to align without using %n format. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: Kees Cook <keescook@chromium.org> Cc: Joe Perches <joe@perches.com> Cc: David Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/apparmor')
0 files changed, 0 insertions, 0 deletions