summaryrefslogtreecommitdiff
path: root/popen3
AgeCommit message (Collapse)AuthorFilesLines
2012-09-06Add popen3 based on popenRWE (http://www.jukie.net/bart/blog/popenRWE)HEADmasterTobias Klauser3-0/+133
tion value='6'>6space:mode:
authorJeff Layton <jlayton@redhat.com>2012-10-10 15:25:28 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-12 20:14:55 -0400
commit91a27b2a756784714e924e5e854b919273082d26 (patch)
tree3913246b7d6e62703ec915f481e3a7159393f0f0 /kernel/acct.c
parent8e377d15078a501c4da98471f56396343c407d92 (diff)
vfs: define struct filename and have getname() return it
getname() is intended to copy pathname strings from userspace into a kernel buffer. The result is just a string in kernel space. It would however be quite helpful to be able to attach some ancillary info to the string. For instance, we could attach some audit-related info to reduce the amount of audit-related processing needed. When auditing is enabled, we could also call getname() on the string more than once and not need to recopy it from userspace. This patchset converts the getname()/putname() interfaces to return a struct instead of a string. For now, the struct just tracks the string in kernel space and the original userland pointer for it. Later, we'll add other information to the struct as it becomes convenient. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/acct.c')
-rw-r--r--kernel/acct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/acct.c b/kernel/acct.chave the argument for false condition
Masahiro Yamada1-2/+2
2015-01-09kbuild: do not add $(call ...) to invoke cc-version or cc-fullversionMasahiro Yamada1-5/+2
2015-01-09kbuild: fix cc-ifversion macroMasahiro Yamada1-1/+1
2014-12-20Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-0/+12
2014-12-03kbuild: remove redundant -rR flag of hdr-instMasahiro Yamada1-2/+2
2014-11-26kbuild: collect shorthands into scripts/Kbuild.includeMasahiro Yamada1-0/+12
2014-10-21dts, kbuild: Factor out dtbs install rules to Makefile.dtbinstRobert Richter1-0/+6
2014-10-02kbuild: simplify build, clean, modbuiltin shorthandsMasahiro Yamada1-2/+2
2014-08-07kbuild: Fix handling of backslashes in *.cmd filesMichal Marek1-6/+8
2014-04-07Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-0/+1
2014-03-29kbuild: move "quote" to Kbuild.include to be consistentMasahiro Yamada1-0/+1
2014-02-13Kbuild, lto: add ld-version and ld-ifversion macrosAndi Kleen1-0/+9
2013-04-08kbuild: fix ld-option functionAntony Pavlov1-1/+1
2012-10-08Merge branch 'rc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mmar...Linus Torvalds1-6/+6
2012-10-06kbuild: make: fix if_changed when command contains backslashesSascha Hauer1-1/+1
2012-10-03kbuild: Fix gcc -x syntaxJean Delvare1-6/+6
2012-03-24scripts/Kbuild.include: Fix portability problem of "echo -e"Bernhard Walle1-1/+1
2011-06-09kbuild: add `baseprereq'Arnaud Lacombe1-0/+4
2011-05-16kbuild: make KBUILD_NOCMDDEP=1 handle empty built-in.oMichal Marek1-0/+2
2011-05-03kbuild: Fix passing -Wno-* options to gcc 4.4+Michal Marek1-0/+5
2011-04-20kbuild: Fix build with binutils <= 2.19Michal Marek1-0/+5