ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

freebsd:chmod

T1 multi syscall syscall
FreeBSD Syscall #15: chmod
SourceFreeBSD Kernel Syscall Table (syscalls.master) (freebsd_syscalls)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeFreeBSD (main)
FreeBSD (x86-64 / ARM64 / RISC-V / PowerPC)
License & VersionBSD-2-Clause
freebsd/main
Upstreamhttps://github.com/freebsd/freebsd-src/blob/main/sys/kern/syscalls.master
Privilegeuser->supervisor
ExtensionsFreeBSD, POSIX

Summary

FreeBSD kernel syscall #15: int chmod( _In_z_ const char *path, mode_t mode ) (from sys/kern/syscalls.master, BSD-2-Clause).

Syntax / Encoding

/* FreeBSD #15 */
int chmod( _In_z_ const char *path, mode_t mode );