ulog_login_pseudo.c (200062) | ulog_login_pseudo.c (202215) |
---|---|
1/*- 2 * Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2009 Ed Schouten <ed@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/lib/libulog/ulog_login_pseudo.c 200062 2009-12-03 15:48:24Z ed $"); | 28__FBSDID("$FreeBSD: head/lib/libulog/ulog_login_pseudo.c 202215 2010-01-13 18:53:06Z ed $"); |
29 30#include <sys/wait.h> 31 32#include <errno.h> 33#include <signal.h> 34#include <stdlib.h> 35#include <sysexits.h> 36#include <unistd.h> | 29 30#include <sys/wait.h> 31 32#include <errno.h> 33#include <signal.h> 34#include <stdlib.h> 35#include <sysexits.h> 36#include <unistd.h> |
37#include "ulog.h" |
|
37 | 38 |
38#include "ulog_internal.h" 39 | |
40#define _PATH_ULOG_HELPER "/usr/libexec/ulog-helper" 41 42/* 43 * Registering login sessions. 44 */ 45 46static void 47ulog_exec_helper(int fd, char const * const argv[]) --- 46 unchanged lines hidden --- | 39#define _PATH_ULOG_HELPER "/usr/libexec/ulog-helper" 40 41/* 42 * Registering login sessions. 43 */ 44 45static void 46ulog_exec_helper(int fd, char const * const argv[]) --- 46 unchanged lines hidden --- |