Date: Thu, 15 Jan 2004 12:54:00 -0800 (PST) From: Chris Vance <cvance@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 45407 for review Message-ID: <200401152054.i0FKs08i072784@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45407 Change 45407 by cvance@cvance_release on 2004/01/15 12:53:57 mpo_create_cred was replaced with mpo_copy_cred_label Affected files ... .. //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#30 edit Differences ... ==== //depot/projects/trustedbsd/sebsd/sys/security/sebsd/sebsd.c#30 (text+ko) ==== @@ -510,12 +510,12 @@ } static void -sebsd_create_cred(struct ucred *cred_parent, struct ucred *cred_child) +sebsd_copy_cred_label(struct label *src, struct label *dest) { struct task_security_struct *parent, *task; - parent = SLOT(cred_parent->cr_label); - task = SLOT(cred_child->cr_label); + parent = SLOT(src); + task = SLOT(dest); /* Default to using the attributes from the parent process */ task->osid = parent->osid; @@ -2436,7 +2436,7 @@ #endif /* Create Labels */ - .mpo_create_cred = sebsd_create_cred, + .mpo_copy_cred_label = sebsd_copy_cred_label, .mpo_create_devfs_device = sebsd_create_devfs_device, .mpo_create_devfs_directory = sebsd_create_devfs_directory, .mpo_create_devfs_symlink = sebsd_create_devfs_symlink,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401152054.i0FKs08i072784>