summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit_bsm_klib.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-02-25 20:28:00 +0000
committerrwatson <rwatson@FreeBSD.org>2008-02-25 20:28:00 +0000
commit2cf50b2daaaa5cd106ea6aa20895b4223f99fdae (patch)
tree23a2c9ada64c22eb60abc3103fe0558791fac11b /sys/security/audit/audit_bsm_klib.c
parent41eb7744b1006c13e2b2a9ea817ece0ef4f2d363 (diff)
downloadFreeBSD-src-2cf50b2daaaa5cd106ea6aa20895b4223f99fdae.zip
FreeBSD-src-2cf50b2daaaa5cd106ea6aa20895b4223f99fdae.tar.gz
Rename several audit functions in the global kernel symbol namespace to
have audit_ on the front: - canon_path -> audit_canon_path - msgctl_to_event -> audit_msgctl_to_event - semctl_to_event -> audit_semctl_to_event MFC after: 1 month
Diffstat (limited to 'sys/security/audit/audit_bsm_klib.c')
-rw-r--r--sys/security/audit/audit_bsm_klib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/security/audit/audit_bsm_klib.c b/sys/security/audit/audit_bsm_klib.c
index 5361ad3..f4d28dd 100644
--- a/sys/security/audit/audit_bsm_klib.c
+++ b/sys/security/audit/audit_bsm_klib.c
@@ -338,7 +338,7 @@ flags_and_error_to_openevent(int oflags, int error)
* Convert a MSGCTL command to a specific event.
*/
int
-msgctl_to_event(int cmd)
+audit_msgctl_to_event(int cmd)
{
switch (cmd) {
@@ -361,7 +361,7 @@ msgctl_to_event(int cmd)
* Convert a SEMCTL command to a specific event.
*/
int
-semctl_to_event(int cmd)
+audit_semctl_to_event(int cmd)
{
switch (cmd) {
@@ -480,7 +480,7 @@ auditon_command_event(int cmd)
* MAXPATHLEN * 2 would be passed in.
*/
void
-canon_path(struct thread *td, char *path, char *cpath)
+audit_canon_path(struct thread *td, char *path, char *cpath)
{
char *bufp;
char *retbuf, *freebuf;
@@ -489,7 +489,7 @@ canon_path(struct thread *td, char *path, char *cpath)
int cisr, error, vfslocked;
WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL,
- "canon_path() at %s:%d", __FILE__, __LINE__);
+ "audit_canon_path() at %s:%d", __FILE__, __LINE__);
fdp = td->td_proc->p_fd;
bufp = path;
OpenPOWER on IntegriCloud