Sign in
googlers
/
maze
/
klibc
/
8858e8319655ef38398e0833b71d65b0e620a061
/
.
/
usr
/
klibc
/
lchown.c
blob: 9a9e1e1ee108f7d6245e5050e613f71536d3290e [
file
] [
log
] [
blame
]
#include
<fcntl.h>
#include
<unistd.h>
#include
<sys/syscall.h>
#ifndef
__NR_lchown
int
lchown
(
const
char
*
path
,
uid_t
owner
,
gid_t
group
)
{
return
fchownat
(
AT_FDCWD
,
path
,
owner
,
group
,
AT_SYMLINK_NOFOLLOW
);
}
#endif
/* __NR_lchown */