= 0;
> + rcu_read_unlock();
> +
> + fd = ret ?: pidfd_create(p);
> + put_pid(p);
> + return fd;
> +}
> +
> void __init pid_idr_init(void)
> {
> /* Verify no one has done anything silly: */
Regards.
--
Yann Droneaud
OPTEYA
Hi,
Le mercredi 15 mai 2019 à 16:16 +0200, Christian Brauner a écrit :
> On Wed, May 15, 2019 at 04:00:20PM +0200, Yann Droneaud wrote:
> > Le mercredi 15 mai 2019 à 12:03 +0200, Christian Brauner a écrit :
> > > diff --git a/kernel/pid.c b/kernel/pid.c
> > > index
Hi,
Le mardi 14 octobre 2014 à 12:57 +1100, Michael Ellerman a écrit :
> On Mon, 2014-10-13 at 21:30 +0200, Yann Droneaud wrote:
> > This patch replaces calls to get_unused_fd() with equivalent call to
> > get_unused_fd_flags(0) to preserve current behavor for existing code.
> &
)
DROPPED: applied upstream, commit 0b37e097a648.
- reduce the amount of explanation in cover letter
[1] http://lkml.kernel.org/r/cover.1411562410.git.ydrone...@opteya.com
Yann Droneaud (5):
ia64: trivial: replace get_unused_fd() by get_unused_fd_flags(0)
ppc/cell: trivial: replac
default or choosen by userspace.
Link: http://lkml.kernel.org/r/cover.1413223900.git.ydrone...@opteya.com
Cc: Al Viro
Cc: Andrew Morton
Cc: triv...@kernel.org
Signed-off-by: Yann Droneaud
---
arch/powerpc/platforms/cell/spufs/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
PATCHSETv5]
http://lkml.kernel.org/r/cover.1388952061.git.ydrone...@opteya.com
[PATCHSETv4]
http://lkml.kernel.org/r/cover.1383121137.git.ydrone...@opteya.com
[PATCHSETv3]
http://lkml.kernel.org/r/cover.1378460926.git.ydrone...@opteya.com
[PATCHSETv2]
http://lkml.kernel.org/r/cover.1376327678.git.yd
default or choosen by userspace.
Link: http://lkml.kernel.org/r/cover.1411562410.git.ydrone...@opteya.com
Cc: Al Viro
Cc: Andrew Morton
Cc: triv...@kernel.org
Signed-off-by: Yann Droneaud
---
arch/powerpc/platforms/cell/spufs/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
git.ydrone...@opteya.com
Cc: Al Viro
Cc: Andrew Morton
Signed-off-by: Yann Droneaud
---
arch/powerpc/platforms/cell/spufs/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c
b/arch/powerpc/platforms/cell/spufs/inode.c
index 87
drone...@opteya.com
[PATCHSETv4]
http://lkml.kernel.org/r/cover.1383121137.git.ydrone...@opteya.com
[PATCHSETv3]
http://lkml.kernel.org/r/cover.1378460926.git.ydrone...@opteya.com
[PATCHSETv2]
http://lkml.kernel.org/r/cover.1376327678.git.ydrone...@opteya.com
[PATCHSETv1]
http://lkml.ker
version 15.7a does not follow symbolic links
http://sourceforge.net/p/cscope/bugs/261/
Regards.
--
Yann Droneaud
OPTEYA
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
git.ydrone...@opteya.com
Cc: Al Viro
Cc: Andrew Morton
Signed-off-by: Yann Droneaud
---
arch/powerpc/platforms/cell/spufs/inode.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/cell/spufs/inode.c
b/arch/powerpc/platforms/cell/spufs/inode.c
index 87
drone...@opteya.com
[PATCHSETv3]
http://lkml.kernel.org/r/cover.1378460926.git.ydrone...@opteya.com
[PATCHSETv2]
http://lkml.kernel.org/r/cover.1376327678.git.ydrone...@opteya.com
[PATCHSETv1]
http://lkml.kernel.org/r/cover.1372777600.git.ydrone...@opteya.com
Yann Droneaud (6):
ia64: use get_unu
Hi,
Le lundi 13 janvier 2014 à 10:30 +0100, Yann Droneaud a écrit :
> Le lundi 13 janvier 2014 à 10:06 +1100, Benjamin Herrenschmidt a écrit :
> > On Tue, 2013-07-02 at 18:39 +0200, Yann Droneaud wrote:
> > > Macro get_unused_fd() is used to allocate a file descriptor with
&
Hi Benjamin,
Le lundi 13 janvier 2014 à 10:06 +1100, Benjamin Herrenschmidt a écrit :
> On Tue, 2013-07-02 at 18:39 +0200, Yann Droneaud wrote:
> > Macro get_unused_fd() is used to allocate a file descriptor with
> > default flags. Those default flags (0) can be "unsafe&quo
This patch replaces calls to get_unused_fd() with equivalent call to
get_unused_fd_flags(0) to preserve current behavor for existing code.
The hard coded flag value (0) should be reviewed on a per-subsystem
basis, and, if possible, set to O_CLOEXEC.
Cc: Al Viro
Signed-off-by: Yann Droneaud
nel.org/r/cover.1376327678.git.ydrone...@opteya.com
[PATCHSETv1]
http://lkml.kernel.org/r/cover.1372777600.git.ydrone...@opteya.com
PS: Happy new (gregorian calendar's) year 2014 and best wishes ;)
Yann Droneaud (7):
ia64: use get_unused_fd_flags(0) instead of get_unused_fd()
ppc/cell: us
This patch replaces calls to get_unused_fd() with equivalent call to
get_unused_fd_flags(0) to preserve current behavor for existing code.
The hard coded flag value (0) should be reviewed on a per-subsystem basis,
and, if possible, set to O_CLOEXEC.
Signed-off-by: Yann Droneaud
Link: http://lkml.kernel.o
om
[PATCHSETv2]
http://lkml.kernel.org/r/cover.1376327678.git.ydrone...@opteya.com
[PATCHSETv1]
http://lkml.kernel.org/r/cover.1372777600.git.ydrone...@opteya.com
Yann Droneaud (7):
ia64: use get_unused_fd_flags(0) instead of get_unused_fd()
ppc/cell: use get_unused_fd_flags(0) instead o
This patch replaces calls to get_unused_fd() with equivalent call to
get_unused_fd_flags(0) to preserve current behavor for existing code.
The hard coded flag value (0) should be reviewed on a per-subsystem basis,
and, if possible, set to O_CLOEXEC.
Signed-off-by: Yann Droneaud
Link: http://lkml.kernel.o
[SCTP]
http://lkml.kernel.org/r/51d312e8.6090...@gmail.com
http://lkml.kernel.org/r/20130702.161428.1703028286206350504.da...@davemloft.net
[XFS]
http://lkml.kernel.org/r/20130709205321.gv20...@sgi.com
[PATCHSETv2]
http://lkml.kernel.org/r/cover.1376327678.git.ydrone...@opteya.
Le 26.08.2013 09:39, Paolo Bonzini a écrit :
Il 25/08/2013 17:04, Alexander Graf ha scritto:
On 24.08.2013, at 21:14, Yann Droneaud wrote:
This patch set O_CLOEXEC flag on all file descriptors created
with anon_inode_getfd() to not leak file descriptors across exec().
Signed-off-by: Yann
ed to choose, without race, if the file descriptor
is going to be inherited across exec().
This patch set O_CLOEXEC flag on all file descriptors created
with anon_inode_getfd() to not leak file descriptors across exec().
Signed-off-by: Yann Droneaud
Link: http://lkml.kernel.org/r/cover.1377372576.git.y
t.home
[3] http://lkml.kernel.org/r/20130822171744.1297.13711.st...@bling.home
Yann Droneaud (2):
kvm: use anon_inode_getfd() with O_CLOEXEC flag
ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag
arch/powerpc/kvm/book3s_64_mmu_hv.c | 2 +-
arch/powerpc/kvm/book3s_64_vio.c| 2 +-
arch/powerpc/kvm/
This patch replaces calls to get_unused_fd() with equivalent call to
get_unused_fd_flags(0) to preserve current behavor for existing code.
The hard coded flag value (0) should be reviewed on a per-subsystem basis,
and, if possible, set to O_CLOEXEC.
Signed-off-by: Yann Droneaud
Link: http://lkml.kernel.o
ad of get_unused_fd()
DROPPED: applied asis by subsystem maintainer.
- sctp: use get_unused_fd_flags(0) instead of get_unused_fd()
DROPPED: applied asis by subsystem maintainer.
Yann Droneaud (10):
ia64: use get_unused_fd_flags(0) instead of get_unused_fd()
ppc/cell: use get_unused_fd_flags(0) i
et try to convert all calls to get_unused_fd()
to get_unused_fd_flags(0) before removing get_unused_fd() macro.
Without get_unused_fd() macro, more subsystems are likely to use
anon_inode_getfd() and be teached to provide an API that let userspace
choose the opening flags of the file descriptor.
Y
This patch replaces calls to get_unused_fd() with equivalent call to
get_unused_fd_flags(0) to preserve current behavor for existing code.
The hard coded flag value (0) should be reviewed on a per-subsystem basis,
and, if possible, set to O_CLOEXEC.
Signed-off-by: Yann Droneaud
---
arch/powerpc/plat
27 matches
Mail list logo