setfmac.c (db4a5cc27c09815a94e0137e96d82c254ac9e424) setfmac.c (214adc07e150b8282be1310518c33eeb7f7dd00f)
1/*-
2 * Copyright (c) 2002 Networks Associates Technology, Inc.
3 * All rights reserved.
4 *
5 * This software was developed for the FreeBSD Project by NAI Labs, the
6 * Security Research Division of Network Associates, Inc. under
7 * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA
8 * CHATS research program.

--- 166 unchanged lines hidden (view full) ---

175 exit(0);
176}
177
178void
179usage(int is_setfmac)
180{
181
182 if (is_setfmac)
1/*-
2 * Copyright (c) 2002 Networks Associates Technology, Inc.
3 * All rights reserved.
4 *
5 * This software was developed for the FreeBSD Project by NAI Labs, the
6 * Security Research Division of Network Associates, Inc. under
7 * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA
8 * CHATS research program.

--- 166 unchanged lines hidden (view full) ---

175 exit(0);
176}
177
178void
179usage(int is_setfmac)
180{
181
182 if (is_setfmac)
183 fprintf(stderr, "usage: setfmac [-Rh] label path [...]\n");
183 fprintf(stderr, "usage: setfmac [-Rh] label file ...\n");
184 else
184 else
185 fprintf(stderr, "usage: setfsmac [-evx] [-f specfile [...]] [-s specfile [...]] path [...]\n");
185 fprintf(stderr, "usage: setfsmac [-ehvx] [-f specfile [...]] [-s specfile [...]] file ...\n");
186 exit(1);
187}
188
189int
190chomp_line(char **line, size_t *linesize)
191{
192 char *s;
193 int freeme = 0;

--- 302 unchanged lines hidden ---
186 exit(1);
187}
188
189int
190chomp_line(char **line, size_t *linesize)
191{
192 char *s;
193 int freeme = 0;

--- 302 unchanged lines hidden ---