Deleted Added
full compact
login_cap.h (184088) login_cap.h (219304)
1/*-
2 * Copyright (c) 1996 by
3 * Sean Eric Fagan <sef@kithrup.com>
4 * David Nugent <davidn@blaze.net.au>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, is permitted provided that the following conditions

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

17 * is permitted provided this notation is included.
18 * 4. Absolutely no warranty of function or purpose is made by the authors.
19 * 5. Modifications may be freely made to this file providing the above
20 * conditions are met.
21 *
22 * Low-level routines relating to the user capabilities database
23 *
24 * Was login_cap.h,v 1.9 1997/05/07 20:00:01 eivind Exp
1/*-
2 * Copyright (c) 1996 by
3 * Sean Eric Fagan <sef@kithrup.com>
4 * David Nugent <davidn@blaze.net.au>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, is permitted provided that the following conditions

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

17 * is permitted provided this notation is included.
18 * 4. Absolutely no warranty of function or purpose is made by the authors.
19 * 5. Modifications may be freely made to this file providing the above
20 * conditions are met.
21 *
22 * Low-level routines relating to the user capabilities database
23 *
24 * Was login_cap.h,v 1.9 1997/05/07 20:00:01 eivind Exp
25 * $FreeBSD: head/lib/libutil/login_cap.h 184088 2008-10-20 17:17:58Z des $
25 * $FreeBSD: head/lib/libutil/login_cap.h 219304 2011-03-05 12:40:35Z trasz $
26 */
27
28#ifndef _LOGIN_CAP_H_
29#define _LOGIN_CAP_H_
30
31#define LOGIN_DEFCLASS "default"
32#define LOGIN_DEFROOTCLASS "root"
33#define LOGIN_MECLASS "me"

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

44#define LOGIN_SETPATH 0x0004 /* set path */
45#define LOGIN_SETPRIORITY 0x0008 /* set priority */
46#define LOGIN_SETRESOURCES 0x0010 /* set resources (cputime, etc.) */
47#define LOGIN_SETUMASK 0x0020 /* set umask, obviously */
48#define LOGIN_SETUSER 0x0040 /* set user (via setuid) */
49#define LOGIN_SETENV 0x0080 /* set user environment */
50#define LOGIN_SETMAC 0x0100 /* set user default MAC label */
51#define LOGIN_SETCPUMASK 0x0200 /* set user cpumask */
26 */
27
28#ifndef _LOGIN_CAP_H_
29#define _LOGIN_CAP_H_
30
31#define LOGIN_DEFCLASS "default"
32#define LOGIN_DEFROOTCLASS "root"
33#define LOGIN_MECLASS "me"

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

44#define LOGIN_SETPATH 0x0004 /* set path */
45#define LOGIN_SETPRIORITY 0x0008 /* set priority */
46#define LOGIN_SETRESOURCES 0x0010 /* set resources (cputime, etc.) */
47#define LOGIN_SETUMASK 0x0020 /* set umask, obviously */
48#define LOGIN_SETUSER 0x0040 /* set user (via setuid) */
49#define LOGIN_SETENV 0x0080 /* set user environment */
50#define LOGIN_SETMAC 0x0100 /* set user default MAC label */
51#define LOGIN_SETCPUMASK 0x0200 /* set user cpumask */
52#define LOGIN_SETALL 0x03ff /* set everything */
52#define LOGIN_SETLOGINCLASS 0x0400 /* set login class in the kernel */
53#define LOGIN_SETALL 0x07ff /* set everything */
53
54#define BI_AUTH "authorize" /* accepted authentication */
55#define BI_REJECT "reject" /* rejected authentication */
56#define BI_CHALLENG "reject challenge" /* reject with a challenge */
57#define BI_SILENT "reject silent" /* reject silently */
58#define BI_REMOVE "remove" /* remove file on error */
59#define BI_ROOTOKAY "authorize root" /* root authenticated */
60#define BI_SECURE "authorize secure" /* okay on non-secure line */

--- 106 unchanged lines hidden ---
54
55#define BI_AUTH "authorize" /* accepted authentication */
56#define BI_REJECT "reject" /* rejected authentication */
57#define BI_CHALLENG "reject challenge" /* reject with a challenge */
58#define BI_SILENT "reject silent" /* reject silently */
59#define BI_REMOVE "remove" /* remove file on error */
60#define BI_ROOTOKAY "authorize root" /* root authenticated */
61#define BI_SECURE "authorize secure" /* okay on non-secure line */

--- 106 unchanged lines hidden ---