Deleted Added
full compact
procctl.c (57373) procctl.c (114601)
1/*
2 * Copyright 1997 Sean Eric Fagan
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 */
32
1/*
2 * Copyright 1997 Sean Eric Fagan
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
30 *
31 */
32
33#ifndef lint
34static const char rcsid[] =
35 "$FreeBSD: head/usr.sbin/procctl/procctl.c 57373 2000-02-21 10:22:39Z ru $";
36#endif /* not lint */
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/usr.sbin/procctl/procctl.c 114601 2003-05-03 21:06:42Z obrien $");
37
38/*
39 * procctl -- clear the event mask, and continue, any specified processes.
40 * This is largely an example of how to use the procfs interface; however,
41 * for now, it is also sometimes necessary, as a stopped process will not
42 * otherwise continue. (This will be fixed in a later version of the
43 * procfs code, almost certainly; however, this program will still be useful
44 * for some annoying circumstances.)

--- 37 unchanged lines hidden ---
35
36/*
37 * procctl -- clear the event mask, and continue, any specified processes.
38 * This is largely an example of how to use the procfs interface; however,
39 * for now, it is also sometimes necessary, as a stopped process will not
40 * otherwise continue. (This will be fixed in a later version of the
41 * procfs code, almost certainly; however, this program will still be useful
42 * for some annoying circumstances.)

--- 37 unchanged lines hidden ---