[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Openat without die
From: |
Bastien ROUCARIES |
Subject: |
Openat without die |
Date: |
Tue, 11 Jan 2011 14:03:35 +0100 |
User-agent: |
KMail/1.13.5 (Linux/2.6.36-trunk-amd64; KDE/4.4.5; x86_64; ; ) |
Hi,
This two patches will allow to remove a xmalloc and bail out early in case of
ENOMEM
I plan to implement a API reusing openat_permissive()
If openat_permissive cwd_errno is NULL use the slow but safe fork variant
else use the fchdir variant
Program that care could therefore use the more permissive variant (like for
instance the critical fts without FTS_NOCHDIR)
I program also to implement *at_permissive function
What do you think about that?
How could I easilly test this fallback under my quite recent debian ? Does I
need to compile under a qemu image of old os ? Where
could I find such an os ?
Bastien
0002-Use-malloc-instead-of-xmalloc-in-openat-proc.patch
Description: Text Data
0003-Add-errno-return-to-openat_proc_name.patch
Description: Text Data
- Openat without die,
Bastien ROUCARIES <=
- Re: Openat without die, Jim Meyering, 2011/01/11
- Re: Openat without die, Bastien ROUCARIES, 2011/01/11
- Re: Openat without die, Bruno Haible, 2011/01/11
- Re: Openat without die, Bastien ROUCARIES, 2011/01/11
- Re: Openat without die, Jim Meyering, 2011/01/11
- Re: Openat without die, Eric Blake, 2011/01/11
- Re: Openat without die, Bastien ROUCARIES, 2011/01/11
- Re: Openat without die, Paul Eggert, 2011/01/11
- Re: Openat without die, Eric Blake, 2011/01/11
- Re: Openat without die, Paul Eggert, 2011/01/11