xref: /freebsd/usr.sbin/setpmac/setpmac.8 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
18d43d865SChris Costello.\" Copyright (c) 2003 Networks Associates Technology, Inc.
28d43d865SChris Costello.\" All rights reserved.
38d43d865SChris Costello.\"
48d43d865SChris Costello.\" This software was developed for the FreeBSD Project by Chris Costello
58d43d865SChris Costello.\" at Safeport Network Services and Network Associates Labs, the
68d43d865SChris Costello.\" Security Research Division of Network Associates, Inc. under
78d43d865SChris Costello.\" DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
88d43d865SChris Costello.\" DARPA CHATS research program.
98d43d865SChris Costello.\"
108d43d865SChris Costello.\" Redistribution and use in source and binary forms, with or without
118d43d865SChris Costello.\" modification, are permitted provided that the following conditions
128d43d865SChris Costello.\" are met:
138d43d865SChris Costello.\" 1. Redistributions of source code must retain the above copyright
148d43d865SChris Costello.\"    notice, this list of conditions and the following disclaimer.
158d43d865SChris Costello.\" 2. Redistributions in binary form must reproduce the above copyright
168d43d865SChris Costello.\"    notice, this list of conditions and the following disclaimer in the
178d43d865SChris Costello.\"    documentation and/or other materials provided with the distribution.
188d43d865SChris Costello.\"
198d43d865SChris Costello.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
208d43d865SChris Costello.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
218d43d865SChris Costello.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
228d43d865SChris Costello.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
238d43d865SChris Costello.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
248d43d865SChris Costello.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
258d43d865SChris Costello.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
268d43d865SChris Costello.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
278d43d865SChris Costello.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
288d43d865SChris Costello.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
298d43d865SChris Costello.\" SUCH DAMAGE.
308d43d865SChris Costello.\"
31ace5be68SRuslan Ermilov.Dd January 14, 2003
328d43d865SChris Costello.Dt SETPMAC 8
33*aa12cea2SUlrich Spörlein.Os
348d43d865SChris Costello.Sh NAME
358d43d865SChris Costello.Nm setpmac
36ace5be68SRuslan Ermilov.Nd "run a command with a different MAC process label"
378d43d865SChris Costello.Sh SYNOPSIS
388d43d865SChris Costello.Nm
398d43d865SChris Costello.Ar label
408d43d865SChris Costello.Ar command
41ace5be68SRuslan Ermilov.Op Ar arg ...
428d43d865SChris Costello.Sh DESCRIPTION
438d43d865SChris CostelloThe
448d43d865SChris Costello.Nm
458d43d865SChris Costelloutility forks a new process, attempts to set the label to
468d43d865SChris Costello.Ar label
478d43d865SChris Costelloand if successful, runs
488d43d865SChris Costello.Ar command .
498d43d865SChris Costello.Sh SEE ALSO
50f42021e7SChris Costello.Xr mac 4 ,
518d43d865SChris Costello.Xr maclabel 7 ,
528d43d865SChris Costello.Xr getfmac 8 ,
538d43d865SChris Costello.Xr getpmac 8 ,
548d43d865SChris Costello.Xr setfmac 8
55523313a4SChris Costello.Sh AUTHORS
568d43d865SChris CostelloThis software was contributed to the
578d43d865SChris Costello.Fx
588d43d865SChris CostelloProject by Network Associates Labs,
598d43d865SChris Costellothe Security Research Division of Network Associates
6007bfccd7SRuslan ErmilovInc.
6107bfccd7SRuslan Ermilovunder DARPA/SPAWAR contract N66001-01-C-8035
62ace5be68SRuslan Ermilov.Pq Dq CBOSS ,
638d43d865SChris Costelloas part of the DARPA CHATS research program.
64