summaryrefslogtreecommitdiff
path: root/static/unix-v10/man8/downgrade.8
diff options
context:
space:
mode:
Diffstat (limited to 'static/unix-v10/man8/downgrade.8')
-rw-r--r--static/unix-v10/man8/downgrade.837
1 files changed, 37 insertions, 0 deletions
diff --git a/static/unix-v10/man8/downgrade.8 b/static/unix-v10/man8/downgrade.8
new file mode 100644
index 00000000..9ab11d51
--- /dev/null
+++ b/static/unix-v10/man8/downgrade.8
@@ -0,0 +1,37 @@
+.TH DOWNGRADE 8
+.CT 8 sa_nonmortals
+.SH NAME
+downgrade \- downgrade a file
+.SH SYNOPSIS
+.B /etc/downgrade
+.I label
+.I file ...
+.SH DESCRIPTION
+.I Downgrade
+clears from the label of each
+.I file
+all bits that correspond to one bits in
+.I label.
+Capabilities or licenses specified in
+.I label
+are ignored.
+The
+.I files
+must be readable and must be specified by full path name.
+.LP
+.I Downgrade
+requires
+.B T_EXTERN
+privilege, which may be granted to authorized users by
+.IR priv (8).
+.SH EXAMPLES
+.L
+priv downgrade 0110 /usr/myproject/*.c
+.SH FILES
+.F /dev/log
+.SH "SEE ALSO"
+.IR getlab (2),
+.IR setlab (1)
+.SH BUGS
+Downgrading is not an atomic operation. If a file is
+relinked underfoot misleading logging records may result.