xref: /freebsd/usr.sbin/setpmac/setpmac.8 (revision f42021e7d17401dd6a08a731400acf4dfe71f67c)
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.\"
318d43d865SChris Costello.\" $FreeBSD$
328d43d865SChris Costello.Dd JANUARY 14, 2003
338d43d865SChris Costello.Os
348d43d865SChris Costello.Dt SETPMAC 8
358d43d865SChris Costello.Sh NAME
368d43d865SChris Costello.Nm setpmac
378d43d865SChris Costello.Nd run a command with a different MAC process label
388d43d865SChris Costello.Sh SYNOPSIS
398d43d865SChris Costello.Nm
408d43d865SChris Costello.Ar label
418d43d865SChris Costello.Ar command
428d43d865SChris Costello.Op Ar args Op Ar ...
438d43d865SChris Costello.Sh DESCRIPTION
448d43d865SChris CostelloThe
458d43d865SChris Costello.Nm
468d43d865SChris Costelloutility forks a new process, attempts to set the label to
478d43d865SChris Costello.Ar label
488d43d865SChris Costelloand if successful, runs
498d43d865SChris Costello.Ar command .
508d43d865SChris Costello.Sh SEE ALSO
51f42021e7SChris Costello.Xr mac 4 ,
528d43d865SChris Costello.Xr maclabel 7 ,
538d43d865SChris Costello.Xr getfmac 8 ,
548d43d865SChris Costello.Xr getpmac 8 ,
558d43d865SChris Costello.Xr setfmac 8
56523313a4SChris Costello.Sh AUTHORS
578d43d865SChris CostelloThis software was contributed to the
588d43d865SChris Costello.Fx
598d43d865SChris CostelloProject by Network Associates Labs,
608d43d865SChris Costellothe Security Research Division of Network Associates
618d43d865SChris CostelloInc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"),
628d43d865SChris Costelloas part of the DARPA CHATS research program.
63