Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/chflags Note that the ability to change certain flag...



details:   https://anonhg.NetBSD.org/src/rev/906e209ac57a
branches:  trunk
changeset: 375880:906e209ac57a
user:      jschauma <jschauma%NetBSD.org@localhost>
date:      Thu May 18 19:08:16 2023 +0000

description:
Note that the ability to change certain flags depends on the current securelevel.

diffstat:

 usr.bin/chflags/chflags.1 |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 887515384afc -r 906e209ac57a usr.bin/chflags/chflags.1
--- a/usr.bin/chflags/chflags.1 Thu May 18 14:22:53 2023 +0000
+++ b/usr.bin/chflags/chflags.1 Thu May 18 19:08:16 2023 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: chflags.1,v 1.25 2023/05/05 04:14:02 kre Exp $
+.\"    $NetBSD: chflags.1,v 1.26 2023/05/18 19:08:16 jschauma Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993, 1994
 .\"    The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"    @(#)chflags.1   8.4 (Berkeley) 5/2/95
 .\"
-.Dd December 12, 2012
+.Dd May 18, 2023
 .Dt CHFLAGS 1
 .Os
 .Sh NAME
@@ -135,6 +135,13 @@ is used to display the flags.
 .Pp
 The kernel does not allow the flags on block and character
 devices to be changed except by the super-user.
+.Pp
+Note that the ability to clear certain flags is
+dependent on the current kernel
+.Em securelevel .
+See
+.Xr secmodel_securelevel 9
+for details.
 .Sh EXIT STATUS
 .Ex -std
 .Sh SEE ALSO



Home | Main Index | Thread Index | Old Index