summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-11-12 15:09:39 +0000
committerrwatson <rwatson@FreeBSD.org>2003-11-12 15:09:39 +0000
commit059a55b53d61aeff3082f90cdf048dba9cd433dd (patch)
tree081dbd278c37a916992166934864e58049d235e4
parent12e3575b8e017d5e6468e127c02251bc3aa8a975 (diff)
downloadFreeBSD-src-059a55b53d61aeff3082f90cdf048dba9cd433dd.zip
FreeBSD-src-059a55b53d61aeff3082f90cdf048dba9cd433dd.tar.gz
Remove extraneous fullpath variable, which broke lint build. This
extra argument to the devfs MAC policy entry points was accidentally merged from the MAC branch during my earlier commit to these policies, and is not scheduled to be merged just yet.
-rw-r--r--sys/security/mac_biba/mac_biba.c2
-rw-r--r--sys/security/mac_mls/mac_mls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac_biba/mac_biba.c b/sys/security/mac_biba/mac_biba.c
index 7689583..fd021eb 100644
--- a/sys/security/mac_biba/mac_biba.c
+++ b/sys/security/mac_biba/mac_biba.c
@@ -811,7 +811,7 @@ mac_biba_create_devfs_directory(struct mount *mp, char *dirname,
static void
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, const char *fullpath)
+ struct label *delabel)
{
struct mac_biba *source, *dest;
diff --git a/sys/security/mac_mls/mac_mls.c b/sys/security/mac_mls/mac_mls.c
index 69bd374..89ecf27 100644
--- a/sys/security/mac_mls/mac_mls.c
+++ b/sys/security/mac_mls/mac_mls.c
@@ -781,7 +781,7 @@ mac_mls_create_devfs_directory(struct mount *mp, char *dirname,
static void
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, const char *fullpath)
+ struct label *delabel)
{
struct mac_mls *source, *dest;
OpenPOWER on IntegriCloud