xref: /freebsd/usr.sbin/getpmac/getpmac.8 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1520b42aaSChris Costello.\" Copyright (c) 2003 Networks Associates Technology, Inc.
2520b42aaSChris Costello.\" All rights reserved.
3520b42aaSChris Costello.\"
4520b42aaSChris Costello.\" This software was developed for the FreeBSD Project by Chris Costello
5520b42aaSChris Costello.\" at Safeport Network Services and Network Associates Labs, the
6520b42aaSChris Costello.\" Security Research Division of Network Associates, Inc. under
7520b42aaSChris Costello.\" DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8520b42aaSChris Costello.\" DARPA CHATS research program.
9520b42aaSChris Costello.\"
10520b42aaSChris Costello.\" Redistribution and use in source and binary forms, with or without
11520b42aaSChris Costello.\" modification, are permitted provided that the following conditions
12520b42aaSChris Costello.\" are met:
13520b42aaSChris Costello.\" 1. Redistributions of source code must retain the above copyright
14520b42aaSChris Costello.\"    notice, this list of conditions and the following disclaimer.
15520b42aaSChris Costello.\" 2. Redistributions in binary form must reproduce the above copyright
16520b42aaSChris Costello.\"    notice, this list of conditions and the following disclaimer in the
17520b42aaSChris Costello.\"    documentation and/or other materials provided with the distribution.
18520b42aaSChris Costello.\"
19520b42aaSChris Costello.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
20520b42aaSChris Costello.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21520b42aaSChris Costello.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22520b42aaSChris Costello.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
23520b42aaSChris Costello.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24520b42aaSChris Costello.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25520b42aaSChris Costello.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26520b42aaSChris Costello.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27520b42aaSChris Costello.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28520b42aaSChris Costello.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29520b42aaSChris Costello.\" SUCH DAMAGE.
30520b42aaSChris Costello.\"
31ace5be68SRuslan Ermilov.Dd January 14, 2003
32520b42aaSChris Costello.Dt GETPMAC 8
33520b42aaSChris Costello.Os
34520b42aaSChris Costello.Sh NAME
35520b42aaSChris Costello.Nm getpmac
36520b42aaSChris Costello.Nd print process-related MAC labels
37520b42aaSChris Costello.Sh SYNOPSIS
38520b42aaSChris Costello.Nm
39520b42aaSChris Costello.Op Fl l Ar list,of,labels
40ace5be68SRuslan Ermilov.Op Fl p Ar pid
41520b42aaSChris Costello.Sh DESCRIPTION
42520b42aaSChris CostelloThe
43520b42aaSChris Costello.Nm
44520b42aaSChris Costelloutility prints the text representation of the MAC label associated with the
45ace5be68SRuslan Ermilovspecified process.
46ace5be68SRuslan ErmilovIf no process is specified, it prints the label associated with its own
47520b42aaSChris Costelloprocess.
48520b42aaSChris Costello.Sh SEE ALSO
49520b42aaSChris Costello.Xr mac 3 ,
50450e9684SChris Costello.Xr mac_get_pid 3 ,
51450e9684SChris Costello.Xr mac_get_proc 3 ,
52f42021e7SChris Costello.Xr mac 4 ,
53520b42aaSChris Costello.Xr maclabel 7 ,
54520b42aaSChris Costello.Xr getfmac 8 ,
55520b42aaSChris Costello.Xr setfmac 8 ,
56520b42aaSChris Costello.Xr setpmac 8 ,
57520b42aaSChris Costello.Xr mac 9
58