PERFORCE change 45407 for review
Chris Vance
cvance at FreeBSD.org
Thu Jan 15 20:54:00 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=45407
Change 45407 by cvance at 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,
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list