PERFORCE change 22012 for review
Robert Watson
rwatson at freebsd.org
Fri Dec 6 22:19:22 GMT 2002
http://perforce.freebsd.org/chv.cgi?CH=22012
Change 22012 by rwatson at rwatson_tislabs on 2002/12/06 14:18:39
Re-sort arguments to devfs_create_symlink(): all other
creation calls use the credential as the first context
argument, not the second.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#368 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#190 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#47 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#151 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#112 edit
.. //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#88 edit
.. //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.c#61 edit
.. //depot/projects/trustedbsd/mac/sys/sys/mac.h#222 edit
.. //depot/projects/trustedbsd/mac/sys/sys/mac_policy.h#176 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#368 (text+ko) ====
@@ -2810,11 +2810,11 @@
}
void
-mac_create_devfs_symlink(struct mount *mp, struct ucred *cred,
+mac_create_devfs_symlink(struct ucred *cred, struct mount *mp,
struct devfs_dirent *dd, struct devfs_dirent *de)
{
- MAC_PERFORM(create_devfs_symlink, mp, cred, dd, &dd->de_label, de,
+ MAC_PERFORM(create_devfs_symlink, cred, mp, dd, &dd->de_label, de,
&de->de_label);
}
==== //depot/projects/trustedbsd/mac/sys/security/mac_biba/mac_biba.c#190 (text+ko) ====
@@ -859,7 +859,7 @@
}
static void
-mac_biba_create_devfs_symlink(struct mount *mp, struct ucred *cred,
+mac_biba_create_devfs_symlink(struct ucred *cred, struct mount *mp,
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
struct label *delabel)
{
==== //depot/projects/trustedbsd/mac/sys/security/mac_lomac/mac_lomac.c#47 (text+ko) ====
@@ -985,7 +985,7 @@
}
static void
-mac_lomac_create_devfs_symlink(struct mount *mp, struct ucred *cred,
+mac_lomac_create_devfs_symlink(struct ucred *cred, struct mount *mp,
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
struct label *delabel)
{
==== //depot/projects/trustedbsd/mac/sys/security/mac_mls/mac_mls.c#151 (text+ko) ====
@@ -829,7 +829,7 @@
}
static void
-mac_mls_create_devfs_symlink(struct mount *mp, struct ucred *cred,
+mac_mls_create_devfs_symlink(struct ucred *cred, struct mount *mp,
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
struct label *delabel)
{
==== //depot/projects/trustedbsd/mac/sys/security/mac_none/mac_none.c#112 (text+ko) ====
@@ -183,7 +183,7 @@
}
static void
-mac_none_create_devfs_symlink(struct mount *mp, struct ucred *cred,
+mac_none_create_devfs_symlink(struct ucred *cred, struct mount *mp,
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
struct label *delabel)
{
==== //depot/projects/trustedbsd/mac/sys/security/mac_test/mac_test.c#88 (text+ko) ====
@@ -561,7 +561,7 @@
}
static void
-mac_test_create_devfs_symlink(struct mount *mp, struct ucred *cred,
+mac_test_create_devfs_symlink(struct ucred *cred, struct mount *mp,
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
struct label *delabel)
{
==== //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.c#61 (text+ko) ====
@@ -476,7 +476,7 @@
}
static void
-sebsd_create_devfs_symlink(struct mount *mp, struct ucred *cred,
+sebsd_create_devfs_symlink(struct ucred *cred, struct mount *mp,
struct devfs_dirent *dd, struct label *ddlabel, struct devfs_dirent *de,
struct label *delabel)
{
==== //depot/projects/trustedbsd/mac/sys/sys/mac.h#222 (text+ko) ====
@@ -175,7 +175,7 @@
struct devfs_dirent *de);
void mac_create_devfs_directory(struct mount *mp, char *dirname,
int dirnamelen, struct devfs_dirent *de);
-void mac_create_devfs_symlink(struct mount *mp, struct ucred *cred,
+void mac_create_devfs_symlink(struct ucred *cred, struct mount *mp,
struct devfs_dirent *dd, struct devfs_dirent *de);
int mac_create_vnode_extattr(struct ucred *cred, struct mount *mp,
struct vnode *dvp, struct vnode *vp, struct componentname *cnp);
==== //depot/projects/trustedbsd/mac/sys/sys/mac_policy.h#176 (text+ko) ====
@@ -147,8 +147,8 @@
void (*mpo_create_devfs_directory)(struct mount *mp, char *dirname,
int dirnamelen, struct devfs_dirent *de,
struct label *label);
- void (*mpo_create_devfs_symlink)(struct mount *mp,
- struct ucred *cred, struct devfs_dirent *dd,
+ void (*mpo_create_devfs_symlink)(struct ucred *cred,
+ struct mount *mp, struct devfs_dirent *dd,
struct label *ddlabel, struct devfs_dirent *de,
struct label *delabel);
int (*mpo_create_vnode_extattr)(struct ucred *cred,
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