]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - fs/signalfd.c
flag parameters: anon_inode_getfd extension
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Jul 2008 04:29:22 +0000 (21:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:27 +0000 (10:47 -0700)
commit7d9dbca34240ebb6ff88d8a29c6c7bffd098f0c1
tree7e3226a4d885f5e4444fbe01a08c51b0b33b2cc7
parentc019bbc612f6633ede7ed67725cbf68de45ae8a4
flag parameters: anon_inode_getfd extension

This patch just extends the anon_inode_getfd interface to take an additional
parameter with a flag value.  The flag value is passed on to
get_unused_fd_flags in anticipation for a use with the O_CLOEXEC flag.

No actual semantic changes here, the changed callers all pass 0 for now.

[akpm@linux-foundation.org: KVM fix]
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk.manpages@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/anon_inodes.c
fs/eventfd.c
fs/eventpoll.c
fs/signalfd.c
fs/timerfd.c
include/linux/anon_inodes.h
virt/kvm/kvm_main.c