Home
last modified time | relevance | path

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

/linux-4.4.14/fs/
Dfs_struct.c119 fs->umask = old->umask; in copy_fs_struct()
156 return current->fs->umask; in current_umask()
165 .umask = 0022,
/linux-4.4.14/Documentation/x86/
Dtlb.txt60 cpu/event=0x8,umask=0x84,name=dtlb_load_misses_walk_duration/,
61 cpu/event=0x8,umask=0x82,name=dtlb_load_misses_walk_completed/,
62 cpu/event=0x49,umask=0x4,name=dtlb_store_misses_walk_duration/,
63 cpu/event=0x49,umask=0x2,name=dtlb_store_misses_walk_completed/,
64 cpu/event=0x85,umask=0x4,name=itlb_misses_walk_duration/,
65 cpu/event=0x85,umask=0x2,name=itlb_misses_walk_completed/
/linux-4.4.14/fs/hpfs/
Dsuper.c320 static int parse_opts(char *opts, kuid_t *uid, kgid_t *gid, umode_t *umask, in parse_opts() argument
359 *umask = option; in parse_opts()
453 umode_t umask; in hpfs_remount_fs() local
464 umask = 0777 & ~sbi->sb_mode; in hpfs_remount_fs()
469 if (!(o = parse_opts(data, &uid, &gid, &umask, &lowercase, in hpfs_remount_fs()
486 sbi->sb_mode = 0777 & ~umask; in hpfs_remount_fs()
555 umode_t umask; in hpfs_fill_super() local
575 umask = current_umask(); in hpfs_fill_super()
583 if (!(o = parse_opts(options, &uid, &gid, &umask, &lowercase, in hpfs_fill_super()
633 sbi->sb_mode = 0777 & ~umask; in hpfs_fill_super()
/linux-4.4.14/net/netfilter/
Dxt_ipvs.c33 const union nf_inet_addr *umask, in ipvs_mt_addrcmp() argument
37 return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; in ipvs_mt_addrcmp()
40 return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in ipvs_mt_addrcmp()
Dxt_conntrack.c31 const union nf_inet_addr *umask, unsigned int l3proto) in conntrack_addrcmp() argument
34 return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; in conntrack_addrcmp()
36 return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in conntrack_addrcmp()
/linux-4.4.14/Documentation/filesystems/
Dhfsplus.txt24 umask=n
25 Specifies the umask (in octal) used for files and directories
27 Default: umask of the mounting process.
Domfs.txt34 umask=xxx - set permission umask to xxx
35 fmask=xxx - set umask to xxx for files
36 dmask=xxx - set umask to xxx for directories
Dhfs.txt27 dir_umask=n, file_umask=n, umask=n
28 Specifies the umask used for all files , all directories or all
29 files and directories. Defaults to the umask of the mounting process.
Disofs.txt5 umask=nnn The permission mask (see umask(1)) for the partition.
Djfs.txt35 umask=value Override on-disk umask with specified octal value. For
Dudf.txt26 umask= Set the default umask.
Dvfat.txt17 umask=### -- The permission mask (for files and directories, see umask(1)).
18 The default is the umask of current process.
21 The default is the umask of current process.
24 The default is the umask of current process.
Dhpfs.txt15 uid=xxx,gid=xxx,umask=xxx (default uid=gid=0 umask=default_system_umask)
17 attributes. Mode is inverted umask - for example umask 027 gives owner
Dntfs.txt126 umask= Provide default owner, group, and access mode mask.
134 Using a umask of zero will grant all permissions to
139 dmask= Instead of specifying umask which applies both to
Daffs.txt124 of the current user and a mode according to the umask.
Dxfs.txt297 or whether their mode is affected by the umask (irix mode).
Dspufs.txt441 directory in spufs. mode is modified with the user's umask(2) value
/linux-4.4.14/fs/hfsplus/
Doptions.c55 opts->umask = current_umask(); in hfsplus_fill_defaults()
131 sbi->umask = (umode_t)tmp; in hfsplus_parse_options()
224 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, in hfsplus_show_options()
Dinode.c198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
201 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
Dhfsplus_fs.h183 umode_t umask; member
/linux-4.4.14/fs/jfs/
Dsuper.c362 char *umask = args[0].from; in parse_options() local
363 int rc = kstrtouint(umask, 8, &sbi->umask); in parse_options()
367 if (sbi->umask & ~0777) { in parse_options()
508 sbi->umask = -1; in jfs_fill_super()
708 if (sbi->umask != -1) in jfs_show_options()
709 seq_printf(seq, ",umask=%03o", sbi->umask); in jfs_show_options()
Djfs_incore.h200 uint umask; /* umask to override on-disk umask */ member
Djfs_imap.c3056 if (sbi->umask != -1) { in copy_from_dinode()
3057 ip->i_mode = (ip->i_mode & ~0777) | (0777 & ~sbi->umask); in copy_from_dinode()
3157 if (sbi->umask == -1) in copy_to_dinode()
/linux-4.4.14/include/linux/
Dfs_struct.h12 int umask; member
Dcompat.h379 long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask,
381 long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask,
/linux-4.4.14/include/uapi/linux/
Dfuse.h426 uint32_t umask; member
432 uint32_t umask; member
476 uint32_t umask; member
/linux-4.4.14/kernel/
Dcompat.c890 long compat_get_bitmap(unsigned long *mask, const compat_ulong_t __user *umask, in compat_get_bitmap() argument
901 if (!access_ok(VERIFY_READ, umask, bitmap_size / 8)) in compat_get_bitmap()
917 if (__get_user(um, umask)) in compat_get_bitmap()
923 umask++; in compat_get_bitmap()
932 long compat_put_bitmap(compat_ulong_t __user *umask, unsigned long *mask, in compat_put_bitmap() argument
943 if (!access_ok(VERIFY_WRITE, umask, bitmap_size / 8)) in compat_put_bitmap()
960 if (__put_user(um, umask)) in compat_put_bitmap()
964 umask++; in compat_put_bitmap()
Dsys.c1646 SYSCALL_DEFINE1(umask, int, mask) in SYSCALL_DEFINE1() argument
1648 mask = xchg(&current->fs->umask, mask & S_IRWXUGO); in SYSCALL_DEFINE1()
/linux-4.4.14/arch/ia64/kernel/
Dptrace.c254 unsigned long umask = 0, mask, m; in get_rnat() local
282 umask = MASK(ia64_rse_slot_num(ubspstore)) & mask; in get_rnat()
283 urnat = (pt->ar_rnat & umask); in get_rnat()
284 mask &= ~umask; in get_rnat()
313 unsigned long rnat0 = 0, rnat1 = 0, *slot0_kaddr, umask = 0, mask, m; in put_rnat() local
356 umask = MASK(ia64_rse_slot_num(ubspstore)) & mask; in put_rnat()
357 pt->ar_rnat = (pt->ar_rnat & ~umask) | (urnat & umask); in put_rnat()
358 mask &= ~umask; in put_rnat()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_p6.c184 PMU_FORMAT_ATTR(umask, "config:8-15" );
Dperf_event_intel.c2492 u64 alt_config = X86_CONFIG(.event=0xc2, .umask=0x01, .inv=1, .cmask=16); in intel_pebs_aliases_snb()
2716 X86_CONFIG(.event=0xc0, .umask=0x01)) { in bdw_limit_period()
2725 PMU_FORMAT_ATTR(umask, "config:8-15" );
3334 X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
3337 X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1); in intel_pmu_init()
3397 X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
3400 X86_CONFIG(.event=0xb1, .umask=0x3f, .inv=1, .cmask=1); in intel_pmu_init()
3434 X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
3437 X86_CONFIG(.event=0xb1, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
3470 X86_CONFIG(.event=0x0e, .umask=0x01, .inv=1, .cmask=1); in intel_pmu_init()
Dperf_event_intel_uncore_snb.c67 DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15");
Dperf_event_knc.c275 PMU_FORMAT_ATTR(umask, "config:8-15" );
Dperf_event_amd.c453 PMU_FORMAT_ATTR(umask, "config:8-15" );
Dperf_event_amd_uncore.c246 PMU_FORMAT_ATTR(umask, "config:8-15");
Dperf_event_intel_uncore_nhmex.c191 DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15");
Dperf_event.c1640 u64 umask = (config & ARCH_PERFMON_EVENTSEL_UMASK) >> 8; in x86_event_sysfs_show() local
1654 if (umask) in x86_event_sysfs_show()
1655 ret += sprintf(page + ret, ",umask=0x%02llx", umask); in x86_event_sysfs_show()
Dperf_event.h476 umask:8, member
Dperf_event_intel_uncore_snbep.c215 DEFINE_UNCORE_FORMAT_ATTR(umask, umask, "config:8-15");
/linux-4.4.14/tools/thermal/tmon/
Dtmon.c368 umask(S_IWGRP | S_IWOTH); in start_daemon_mode()
/linux-4.4.14/drivers/pinctrl/
Dpinctrl-adi2.c537 bool umask = false; in adi_gpio_handle_pint_irq() local
560 umask = true; in adi_gpio_handle_pint_irq()
571 if (!umask) in adi_gpio_handle_pint_irq()
/linux-4.4.14/fs/udf/
Dsuper.c223 umode_t umask; member
562 uopt->umask = option; in udf_parse_options()
662 uopt.umask = sbi->s_umask; in udf_remount_fs()
673 sbi->s_umask = uopt.umask; in udf_remount_fs()
2078 uopt.umask = 0; in udf_fill_super()
2116 sbi->s_umask = uopt.umask; in udf_fill_super()
/linux-4.4.14/arch/sparc/kernel/
Detrap_32.S189 st %g2, [%curptr + TI_UWINMASK] ! store new umask
Dentry.S1262 ld [%g6 + TI_UWINMASK], %o0 ! get current umask
1278 andncc %o0, %o3, %o0 ! clean this bit in umask
/linux-4.4.14/tools/usb/usbip/src/
Dusbipd.c506 umask(0); in do_standalone_mode()
/linux-4.4.14/tools/perf/Documentation/
Dperf-list.txt71 registers: event, umask, edge, inv, cmask. Esp. guest/host only and
Dperf-stat.txt32 - a raw PMU event (eventsel+umask) in the form of rNNN where NNN is a
Dperf-top.txt42 event (eventsel+umask) in the form of rNNN where NNN is a
Dperf-record.txt33 - a raw PMU event (eventsel+umask) in the form of rNNN where NNN is a
/linux-4.4.14/arch/parisc/kernel/
Dsyscall_table.S131 ENTRY_SAME(umask) /* 60 */
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h66 SYSCALL_SPU(umask)
/linux-4.4.14/fs/nfsd/
Dnfssvc.c594 current->fs->umask = 0; in nfsd()
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscall_64.tbl104 95 common umask sys_umask
Dsyscall_32.tbl69 60 i386 umask sys_umask
/linux-4.4.14/fs/fuse/
Ddir.c418 inarg.umask = current_umask(); in fuse_create_open()
582 inarg.umask = current_umask(); in fuse_mknod()
609 inarg.umask = current_umask(); in fuse_mkdir()
/linux-4.4.14/Documentation/filesystems/cifs/
DCHANGES152 account umask on posix mkdir not just older style mkdir. Add
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c7458 struct ethtool_usrip4_spec *umask = &fsp->m_u.usr_ip4_spec; in niu_add_ethtool_tcam_entry() local
7494 umask->tos); in niu_add_ethtool_tcam_entry()