diff options
| author | Gleb Popov <arrowd@FreeBSD.org> | 2026-03-21 11:11:15 +0000 |
|---|---|---|
| committer | Gleb Popov <arrowd@FreeBSD.org> | 2026-03-30 14:46:38 +0000 |
| commit | 0f147784de1037a662b0bd0aaa5f7f7bd7876e37 (patch) | |
| tree | 8fc7fc0b7cf13925f716194a02a805bc5bb24ef4 | |
| parent | 0efd33382504d3172734fa21325fcabef9c7f063 (diff) | |
stat(2): Send to sticky(7) in the S_ISVTX description
Approved by: ziaee
Differential Revision: https://reviews.freebsd.org/D56015
| -rw-r--r-- | lib/libsys/stat.2 | 2 | ||||
| -rw-r--r-- | sys/sys/stat.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsys/stat.2 b/lib/libsys/stat.2 index 8107740bd901..b31975ee068f 100644 --- a/lib/libsys/stat.2 +++ b/lib/libsys/stat.2 @@ -295,7 +295,7 @@ has these bits: #define S_IFWHT 0160000 /* whiteout */ #define S_ISUID 0004000 /* set user id on execution */ #define S_ISGID 0002000 /* set group id on execution */ -#define S_ISVTX 0001000 /* save swapped text even after use */ +#define S_ISVTX 0001000 /* sticky(7) bit is set */ #define S_IRWXU 0000700 /* RWX mask for owner */ #define S_IRUSR 0000400 /* read permission, owner */ #define S_IWUSR 0000200 /* write permission, owner */ diff --git a/sys/sys/stat.h b/sys/sys/stat.h index 6aa536732efd..0c58838094ed 100644 --- a/sys/sys/stat.h +++ b/sys/sys/stat.h @@ -273,7 +273,7 @@ struct nstat { #define S_IFREG 0100000 /* regular */ #define S_IFLNK 0120000 /* symbolic link */ #define S_IFSOCK 0140000 /* socket */ -#define S_ISVTX 0001000 /* save swapped text even after use */ +#define S_ISVTX 0001000 /* sticky(7) bit is set */ #endif #if __BSD_VISIBLE #define S_IFWHT 0160000 /* whiteout */ |
