Date: Mon, 30 Mar 2026 14:46:46 +0000 From: Gleb Popov <arrowd@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0f147784de10 - main - stat(2): Send to sticky(7) in the S_ISVTX description Message-ID: <69ca8cd6.30ec2.35ebef7b@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/src/commit/?id=0f147784de1037a662b0bd0aaa5f7f7bd7876e37 commit 0f147784de1037a662b0bd0aaa5f7f7bd7876e37 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2026-03-21 11:11:15 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2026-03-30 14:46:38 +0000 stat(2): Send to sticky(7) in the S_ISVTX description Approved by: ziaee Differential Revision: https://reviews.freebsd.org/D56015 --- lib/libsys/stat.2 | 2 +- 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 */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ca8cd6.30ec2.35ebef7b>
