m
Size: a a a
m
RS
m
RS
#include <errno.h>
#include <stddef.h>
#include <sys/stat.h>
#include <sys/types.h>
/* Change the protections of FILE to MODE. */
int
__chmod (const char *file, mode_t mode)
{
if (file == NULL)
{
__set_errno (EINVAL);
return -1;
}
__set_errno (ENOSYS);
return -1;
}
stub_warning (chmod)
libc_hidden_def (__chmod)
weak_alias (__chmod, chmod)
RS
m
RS
m
python -c "import os;os.chmod('/usr/bin/chmod',0755)"
m
A
m
OS
m
m
m
m
P
RS
АМ