mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
hurd: Check at_flags passed to faccessat
* sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors returned by __hurd_at_flags.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
|
||||||
|
returned by __hurd_at_flags.
|
||||||
|
|
||||||
2019-01-21 Joseph Myers <joseph@codesourcery.com>
|
2019-01-21 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* scripts/build-many-glibcs.py (Context.checkout): Default
|
* scripts/build-many-glibcs.py (Context.checkout): Default
|
||||||
|
@@ -60,7 +60,9 @@ __faccessat_common (int fd, const char *file, int type, int at_flags,
|
|||||||
usual effective permissions. */
|
usual effective permissions. */
|
||||||
|
|
||||||
int hurd_flags = 0;
|
int hurd_flags = 0;
|
||||||
__hurd_at_flags (&at_flags, &hurd_flags);
|
err = __hurd_at_flags (&at_flags, &hurd_flags);
|
||||||
|
if (err)
|
||||||
|
return errfunc (err);
|
||||||
|
|
||||||
error_t reauthenticate_cwdir_at (file_t *result)
|
error_t reauthenticate_cwdir_at (file_t *result)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user