/openbsd/gnu/llvm/libcxx/include/__filesystem/ |
H A D | perms.h | 30 enum class _LIBCPP_ENUM_VIS perms : unsigned { enum 58 inline constexpr perms operator&(perms __lhs, perms __rhs) { 59 return static_cast<perms>(static_cast<unsigned>(__lhs) & 64 inline constexpr perms operator|(perms __lhs, perms __rhs) { 65 return static_cast<perms>(static_cast<unsigned>(__lhs) | 70 inline constexpr perms operator^(perms __lhs, perms __rhs) { 71 return static_cast<perms>(static_cast<unsigned>(__lhs) ^ 76 inline constexpr perms operator~(perms __lhs) { 81 inline perms& operator&=(perms& __lhs, perms __rhs) { return __lhs = __lhs & __rhs; } 84 inline perms& operator|=(perms& __lhs, perms __rhs) { return __lhs = __lhs | __rhs; } [all …]
|
H A D | file_status.h | 34 explicit file_status(file_type __ft, perms __prms = perms::unknown) noexcept 52 perms permissions() const noexcept { return __prms_; } in permissions() 59 void permissions(perms __p) noexcept { __prms_ = __p; } in permissions() 63 perms __prms_;
|
H A D | directory_entry.h | 283 perms __sym_perms_; 284 perms __non_sym_perms_; 295 __sym_perms_ = __non_sym_perms_ = perms::unknown; in __reset()
|
H A D | operations.h | 143 _LIBCPP_FUNC_VIS void __permissions(const path&, perms, perm_options, error_code* = nullptr); 144 inline _LIBCPP_HIDE_FROM_ABI void permissions(const path& __p, perms __prms, perm_options __opts = … 145 inline _LIBCPP_HIDE_FROM_ABI void permissions(const path& __p, perms __prms, error_code& __ec) noex… in permissions() 146 inline _LIBCPP_HIDE_FROM_ABI void permissions(const path& __p, perms __prms, perm_options __opts, e… in permissions()
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | FileSystem.h | 86 enum perms { enum 112 inline perms operator|(perms l, perms r) { 116 inline perms operator&(perms l, perms r) { 120 inline perms &operator|=(perms &l, perms r) { 124 inline perms &operator&=(perms &l, perms r) { 128 inline perms operator~(perms x) { 130 return static_cast<perms>( 156 perms Perms = perms_not_known; 185 perms permissions() const { return Perms; } in permissions() 222 void permissions(perms p) { Perms = p; } in permissions() [all …]
|
H A D | VirtualFileSystem.h | 55 llvm::sys::fs::perms Perms; 77 llvm::sys::fs::perms Perms); 92 llvm::sys::fs::perms getPermissions() const { return Perms; } in getPermissions() 475 llvm::sys::fs::perms Perms; 514 std::optional<llvm::sys::fs::perms> Perms, MakeNodeFn MakeNode); 539 std::optional<llvm::sys::fs::perms> Perms = std::nullopt); 569 std::optional<llvm::sys::fs::perms> Perms = std::nullopt); 582 std::optional<llvm::sys::fs::perms> Perms = std::nullopt);
|
H A D | FileUtilities.h | 126 std::optional<sys::fs::perms> OverwritePermissions = std::nullopt);
|
/openbsd/gnu/usr.bin/perl/dist/IO/lib/IO/ |
H A D | File.pm | 167 my ($mode, $perms) = @_[2, 3]; 169 defined $perms or $perms = 0666; 170 return sysopen($fh, $file, $mode, $perms);
|
/openbsd/regress/usr.sbin/ospfd/ |
H A D | Proc.pm | 33 my @perms; 36 push @perms, $pid; 39 if (my $sudo = $ENV{SUDO} and @perms) { 41 my @cmd = ($sudo, '/bin/kill', '-TERM', @perms);
|
/openbsd/regress/usr.sbin/httpd/tests/ |
H A D | Proc.pm | 33 my @perms; 36 push @perms, $pid; 39 if (my @sudo = split(' ', $ENV{SUDO}) and @perms) { 41 my @cmd = (@sudo, '/bin/kill', '-TERM', @perms);
|
/openbsd/regress/usr.sbin/relayd/ |
H A D | Proc.pm | 33 my @perms; 36 push @perms, $pid; 39 if (my @sudo = split(' ', $ENV{SUDO}) and @perms) { 41 my @cmd = (@sudo, '/bin/kill', '-TERM', @perms);
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | syscall_emulator.t | 55 my $perms = S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH; 60 (($fd = syscall(SYS_open(), $file, O_CREAT|O_WRONLY, $perms)) < 0), 81 ok( ($st_mode & 0777) == ($perms & 0777),
|
/openbsd/regress/usr.sbin/syslogd/ |
H A D | Proc.pm | 35 my @perms; 38 push @perms, $pid; 41 if (my $sudo = $ENV{SUDO} and @perms) { 43 my @cmd = ($sudo, '/bin/kill', '-TERM', @perms);
|
/openbsd/regress/sys/kern/unveil/ |
H A D | access.c | 16 const char* perms[] = {"", "r", "w", "x", "c", "rw", "rx", "rc", variable 35 const char *perm = perms[i]; in main()
|
/openbsd/gnu/llvm/libcxx/src/filesystem/ |
H A D | posix_compat.h | 389 int fchmod_handle(HANDLE h, int perms) { in fchmod_handle() argument 395 if ((perms & 0222) == 0) in fchmod_handle() 403 int fchmodat(int fd, const wchar_t *path, int perms, int flag) { in fchmodat() argument 416 return fchmod_handle(h, perms); in fchmodat() 422 if ((perms & 0222) == 0) in fchmodat() 430 int fchmod(int fd, int perms) { in fchmod() argument 432 return fchmod_handle(h, perms); in fchmod()
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 336 Status.permissions(static_cast<sys::fs::perms>(0777)); in create() 344 std::optional<sys::fs::perms> OverwritePermissions) { in apply() 376 sys::fs::perms Perm = Status.permissions(); in apply() 378 Perm = static_cast<sys::fs::perms>(Perm & ~sys::fs::getUmask() & ~06000); in apply()
|
H A D | FileCollector.cpp | 225 if (auto perms = sys::fs::getPermissions(entry.VPath)) { in copyFiles() local 226 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) { in copyFiles()
|
/openbsd/gnu/usr.bin/perl/cpan/File-Temp/lib/File/ |
H A D | Temp.pm | 485 my $perms = $options{file_permissions}; 486 my $has_perms = defined $perms; 487 $perms = 0600 unless $has_perms; 510 $fh = VMS::Stdio::vmssysopen($path, $OPENFLAGS, $perms, 'fop=dlt'); 517 $open_success = sysopen($fh, $path, $flags, $perms); 522 chmod($perms, $path) unless $has_perms;
|
/openbsd/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/ |
H A D | FTP.pm | 1265 my($perms,%user,%group); 1275 if (-f _) { $perms = '-'; } 1276 elsif (-d _) { $perms = 'd'; } 1277 elsif (-c _) { $perms = 'c'; $sizemm = &sizemm; } 1278 elsif (-b _) { $perms = 'b'; $sizemm = &sizemm; } 1279 elsif (-p _) { $perms = 'p'; } 1280 elsif (-S _) { $perms = 's'; } 1281 else { $perms = 'l'; $pname .= ' -> ' . readlink($_); } 1294 $perms .= $tmp; 1312 $perms,
|
/openbsd/sys/kern/ |
H A D | kern_unveil.c | 335 unveil_parsepermissions(const char *permissions, u_char *perms) in unveil_parsepermissions() argument 340 *perms = UNVEIL_USERSET; in unveil_parsepermissions() 344 *perms |= UNVEIL_READ; in unveil_parsepermissions() 347 *perms |= UNVEIL_WRITE; in unveil_parsepermissions() 350 *perms |= UNVEIL_EXEC; in unveil_parsepermissions() 353 *perms |= UNVEIL_CREATE; in unveil_parsepermissions()
|
H A D | vfs_getcwd.c | 276 int error, perms = VEXEC; in vfs_getcwd_common() local 315 error = VOP_ACCESS(lvp, perms, p->p_ucred, p); in vfs_getcwd_common() 318 perms = VEXEC|VREAD; in vfs_getcwd_common()
|
/openbsd/gnu/llvm/lldb/source/Host/common/ |
H A D | FileSystem.cpp | 130 return sys::fs::perms::perms_not_known; in GetPermissions() 144 return sys::fs::perms::perms_not_known; in GetPermissions() 156 return GetPermissions(path) & sys::fs::perms::all_read; in Readable()
|
/openbsd/gnu/llvm/lldb/source/Commands/ |
H A D | CommandObjectPlatform.cpp | 83 mode_t perms = ParsePermissionString(option_arg); in SetOptionValue() local 84 if (perms == (mode_t)-1) in SetOptionValue() 88 m_permissions = perms; in SetOptionValue() 496 mode_t perms; in DoExecute() local 500 perms = options_permissions->m_permissions; in DoExecute() 502 perms = lldb::eFilePermissionsUserRW | lldb::eFilePermissionsGroupRW | in DoExecute() 507 perms, error); in DoExecute()
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | filesystem | 260 enum class perms; 372 void permissions(const path& p, perms prms, 374 void permissions(const path& p, perms prms, error_code& ec) noexcept; 375 void permissions(const path& p, perms prms, perm_options opts, 446 #include <__filesystem/perms.h>
|
/openbsd/gnu/llvm/llvm/include/llvm/Object/ |
H A D | Archive.h | 64 Expected<sys::fs::perms> getAccessMode() const; 238 Expected<sys::fs::perms> getAccessMode() const { in getAccessMode()
|