History log of /freebsd-11.0-release/lib/libc/sys/chmod.2
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 258794 01-Dec-2013 jilles

chmod(2): Document S_ISVTX following SUSv3/SUSv4.

S_ISTXT is non-standard.

While here, also update fchmodat() standards entry to POSIX.1-2008.


# 221845 13-May-2011 pluknet

Update sticky(7) cross references.

PR: docs/124468
X-MFC with: r218998


# 178245 16-Apr-2008 kib

Man pages for the openat(2), fexecve(2) and related syscalls.

Reviewed by: ru


# 166044 16-Jan-2007 pjd

When we try to set set-gid bit with chmod(2) on a file, which we own, but our
effective group ID (and any of our group) doesn't match the group ID of the
file, we get EPERM. This doesn't conform POSIX. POSIX requires that we should
return 0, but silently clear the set-gid bit.


# 165903 09-Jan-2007 imp

Per Regents of the University of Calfornia letter, remove advertising
clause.

# If I've done so improperly on a file, please let me know.


# 165177 13-Dec-2006 pjd

Much more correct EFTYPE description.


# 165175 13-Dec-2006 pjd

Append-only flag also denies chmod(2). Is this correct behaviour?


# 165049 09-Dec-2006 pjd

If the named file has its immutable flag set, chmod(2) returns EPERM.


# 139414 29-Dec-2004 trhodes

Catch up with stat.h a bit:

o Sticky bit is actually defined as S_ISTXT not S_ISVTX.
o Sticky bit is wrapped in if __BSD_VISIBLE not _POSIX_SOURCE.


# 131504 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 119893 08-Sep-2003 ru

mdoc(7): Use the new feature of the .In macro.


# 108087 19-Dec-2002 ru

mdoc(7) police: "The .Fa argument.".


# 108028 18-Dec-2002 ru

mdoc(7) police: Tidy up the syscall language.

Stop calling system calls "function calls".

Use "The .Fn system call" a-la "The .Nm utility".

When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.


# 107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


# 100144 15-Jul-2002 keramida

The .Fn function.


# 87492 07-Dec-2001 ru

Fix a typo.

Submitted by: "Alexey V. Neyman" <alex.neyman@auriga.ru>


# 84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


# 82642 31-Aug-2001 ru

Use ``.Rv -std'' wherever possible.

Submitted by: yar


# 79754 15-Jul-2001 dd

Remove whitespace at EOL.


# 79531 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 77575 01-Jun-2001 ru

Remove vestiges of MFS.


# 70481 29-Dec-2000 ru

Prepare for mdoc(7)NG.


# 69051 22-Nov-2000 ru

mdoc(7) police: Er macro usage cleanup.


# 59460 21-Apr-2000 phantom

Introduce ".Lb" macro to libc manpages.

More libraries manpages updates following.


# 57686 02-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 49334 31-Jul-1999 bde

Fixed syntax error in previous commit.


# 49252 30-Jul-1999 mpp

Document the lchmod(2) system call.

Pointed-out-by: bde


# 32438 11-Jan-1998 alex

Formatting fix.

Obtained from: OpenBSD


# 31144 13-Nov-1997 julian

Reviewed by: hackers@freebsd.org in general
Obtained from: Whistle Communications tree

Add an option to the way UFS works dependent on the SUID bit of directories
This changes makes things a whole lot simpler on systems running as
fileservers for PCs and MACS. to enable the new code you must
1/ enable option SUIDDIR on the kernel.
2/ mount the filesystem with option suiddir.
hopefully this makes it difficult enough for people to
do this accidentally.
see the new chmod(2) man page for detailed info.


# 28276 17-Aug-1997 steve

Reflect reality of sticky bits and UFS-based filesystems.

PR: docs/4198
Submitted by: Ada T. Lim <ada@not-enough.bandwidth.org>


# 24094 21-Mar-1997 mpp

Use the .Tn macro for generic FreeBSD references. Other minor cleanup.


# 22993 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21907 20-Jan-1997 wosch

Sort cross references.


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 21570 11-Jan-1997 mpp

Remove the EINVAL error from the ERRORS sections that
say is means that a pathname had the high-order bit
set, since this is no longer an error.


# 20097 02-Dec-1996 wosch

upgrade STANDARDS from POSIX 1003.1-88 to 1003.1-90 using .St macro
use ``is expected to conform to'' phrase, not ``conforms to''

Pointed out by: Bruce->NIST-PCTS


# 17906 29-Aug-1996 wosch

function appeared in Version 7 AT&T UNIX
Obtained from: ftp://netlib.att.com/netlib/att/cs/v7man/man2


# 16265 09-Jun-1996 wosch

update sticky bit documentation


# 1574 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1573,
which included commits to RCS files with non-trunk default branches.


# 1573 27-May-1994 rgrimes

BSD 4.4 Lite Lib Sources