Date: Mon, 24 Apr 2006 16:23:47 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96000 for review Message-ID: <200604241623.k3OGNlgS050218@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96000 Change 96000 by csjp@csjp_xor on 2006/04/24 16:22:46 s/au_ctx/auid to be more consistent with the rest of the API naming convention. Requested by: rwatson Affected files ... .. //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#20 edit .. //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#6 edit .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_wrappers.c#22 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#20 (text+ko) ==== @@ -26,7 +26,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#19 $ + * $P4: //depot/projects/trustedbsd/openbsm/bsm/libbsm.h#20 $ */ #ifndef _LIBBSM_H_ @@ -695,7 +695,7 @@ typedef struct tokenstr tokenstr_t; -int audit_submit(short au_event, au_id_t au_ctx, +int audit_submit(short au_event, au_id_t auid, char status, int reterr, const char *fmt, ...); /* ==== //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#6 (text+ko) ==== @@ -26,7 +26,7 @@ .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#5 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#6 $ .Dd April 11, 2006 .Dt audit_submit 3 .Os @@ -38,7 +38,7 @@ .Sh SYNOPSIS .In stdio.h .Ft int -.Fn audit_submit "short au_event" "au_id_t au_ctx" "char status" "int reterr" "const char * restrict format" ... +.Fn audit_submit "short au_event" "au_id_t auid" "char status" "int reterr" "const char * restrict format" ... .Sh DESCRIPTION The .Nm ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_wrappers.c#22 (text+ko) ==== @@ -26,7 +26,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_wrappers.c#21 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_wrappers.c#22 $ */ #ifdef __APPLE__ @@ -58,7 +58,7 @@ * General purpose audit submission mechanism for userspace. */ int -audit_submit(short au_event, au_id_t au_ctx, char status, +audit_submit(short au_event, au_id_t auid, char status, int reterr, const char *fmt, ...) { char text[MAX_AUDITSTRING_LEN]; @@ -95,7 +95,7 @@ /* XXX what should we do for termid? */ bzero(&termid, sizeof(termid)); pid = getpid(); - token = au_to_subject32(au_ctx, geteuid(), getegid(), + token = au_to_subject32(auid, geteuid(), getegid(), getuid(), getgid(), pid, pid, &termid); if (token == NULL) { syslog(LOG_AUTH | LOG_ERR,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604241623.k3OGNlgS050218>