Home
last modified time | relevance | path

Searched refs:umask (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dcompat.c193 long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, in compat_get_bitmap() argument
202 if (!user_read_access_begin(umask, bitmap_size / 8)) in compat_get_bitmap()
207 unsafe_get_user(l1, umask++, Efault); in compat_get_bitmap()
208 unsafe_get_user(l2, umask++, Efault); in compat_get_bitmap()
213 unsafe_get_user(*mask, umask++, Efault); in compat_get_bitmap()
222 long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, in compat_put_bitmap() argument
231 if (!user_write_access_begin(umask, bitmap_size / 8)) in compat_put_bitmap()
236 unsafe_put_user((compat_ulong_t)m, umask++, Efault); in compat_put_bitmap()
237 unsafe_put_user(m >> BITS_PER_COMPAT_LONG, umask++, Efault); in compat_put_bitmap()
241 unsafe_put_user((compat_ulong_t)*mask, umask++, Efault); in compat_put_bitmap()
Dumh.c82 current->fs->umask = 0022; in call_usermodehelper_exec_async()
Dsignal.c3128 int set_user_sigmask(const sigset_t __user *umask, size_t sigsetsize) in set_user_sigmask() argument
3132 if (!umask) in set_user_sigmask()
3136 if (copy_from_user(&kmask, umask, sizeof(sigset_t))) in set_user_sigmask()
3147 int set_compat_user_sigmask(const compat_sigset_t __user *umask, in set_compat_user_sigmask() argument
3152 if (!umask) in set_compat_user_sigmask()
3156 if (get_compat_sigset(&kmask, umask)) in set_compat_user_sigmask()
Dsys.c1871 SYSCALL_DEFINE1(umask, int, mask) in SYSCALL_DEFINE1() argument
1873 mask = xchg(&current->fs->umask, mask & S_IRWXUGO); in SYSCALL_DEFINE1()