DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦6b0be750f⟧ TextFile

    Length: 1213 (0x4bd)
    Types: TextFile
    Notes: UNIX file
    Names: »ucred.h«

Derivation

└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
    └─⟦this⟧ »kc/new/usr/include/sys/fs/nfs/ucred.h« 

TextFile

/*
 * Copyrighted as an unpublished work.
 * (c) Copyright 1988 INTERACTIVE Systems Corporation
 * All rights reserved.
 *
 * RESTRICTED RIGHTS
 *
 * These programs are supplied under a license.  They may be used,
 * disclosed, and/or copied only as permitted under such license
 * agreement.  Any copy must contain the above copyright notice and
 * this restricted rights notice.  Use, copying, and/or disclosure
 * of the programs is strictly prohibited unless otherwise provided
 * in the license agreement.
 */

#ident  "@(#)ucred.h	1.1 - 88/04/26"

/*      @(#)sufstring	3.3 System V NFS  source        */
/*	@(#)ucred.h	1.4 12/29/87		3.3 System V NFS  source        */
/*      @(#)ucred.h	3.1 LAI System V NFS Release 3.0/V3  source        */

/*
 * Unix credentials.
 */

#define	NGROUPS	8
#define	NOGROUP	-1

struct	ucred	{
	ushort	cr_ref;		/* reference count	*/
	short	cr_uid;		/* effective uid	*/
	short	cr_gid;		/* effective gid	*/
	int	cr_groups[NGROUPS];	/* groups	*/
	short	cr_ruid;	/* real uid		*/
	short	cr_rgid;	/* real gid		*/
};

#ifdef INKERNEL
#define	crhold(cr)	(cr)->cr_ref++

extern struct ucred *crget();
extern struct ucred *crcopy();
extern struct ucred *crdup();
#endif /* INKERNEL */