diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2024-11-03 14:39:32 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2024-11-03 16:46:53 +0000 |
| commit | bfd03046d18776ea70785ca1ef36dfc60822de3b (patch) | |
| tree | ef853bc0aa782c889c3efa4590beeb604e1c69db /lib/libsys | |
| parent | 4ee6a830d6c191c1c420b6764a4d388f756168d3 (diff) | |
Diffstat (limited to 'lib/libsys')
| -rw-r--r-- | lib/libsys/chmod.2 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libsys/chmod.2 b/lib/libsys/chmod.2 index e496b773ddf8..2db182a95fcc 100644 --- a/lib/libsys/chmod.2 +++ b/lib/libsys/chmod.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 30, 2021 +.Dd October 31, 2024 .Dt CHMOD 2 .Os .Sh NAME @@ -214,6 +214,13 @@ This makes the system somewhat more secure by protecting set-user-id (set-group-id) files from remaining set-user-id (set-group-id) if they are modified, at the expense of a degree of compatibility. +.Pp +While it is normally an error to invoke +.Fn fchmod +on a socket, it is possible to do so on +.Dv AF_LOCAL +sockets before they are bound to a file name; see +.Xr unix 4 . .Sh RETURN VALUES .Rv -std .Sh ERRORS |
