Date: Fri, 15 Dec 2006 11:51:35 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 111731 for review Message-ID: <200612151151.kBFBpZ9q004615@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111731 Change 111731 by rwatson@rwatson_peppercorn on 2006/12/15 11:50:43 Trim trailing white space. Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#45 edit .. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#58 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#45 (text+ko) ==== @@ -32,7 +32,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_io.c#44 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#45 $ */ #include <sys/types.h> @@ -729,7 +729,7 @@ fprintf(fp, "%s", inet_ntoa(ipaddr)); } -/* +/* * Prints a string value for the given ip address. */ static void @@ -1026,7 +1026,7 @@ * event modifier 2 bytes * seconds of time 4 bytes/8 bytes (32-bit/64-bit value) * milliseconds of time 4 bytes/8 bytes (32-bit/64-bit value) - * version # + * version # */ static int fetch_header64_tok(tokenstr_t *tok, u_char *buf, int len) @@ -2670,19 +2670,19 @@ } } -/* - * token ID 1 byte - * audit ID 4 bytes - * effective user ID 4 bytes - * effective group ID 4 bytes - * real user ID 4 bytes - * real group ID 4 bytes - * process ID 4 bytes - * session ID 4 bytes - * terminal ID +/* + * token ID 1 byte + * audit ID 4 bytes + * effective user ID 4 bytes + * effective group ID 4 bytes + * real user ID 4 bytes + * real group ID 4 bytes + * process ID 4 bytes + * session ID 4 bytes + * terminal ID * port ID 4 bytes - * address type-len 4 bytes - * machine address 16 bytes + * address type-len 4 bytes + * machine address 16 bytes */ static int fetch_process32ex_tok(tokenstr_t *tok, u_char *buf, int len) @@ -2800,19 +2800,19 @@ } } -/* - * token ID 1 byte - * audit ID 4 bytes - * effective user ID 4 bytes - * effective group ID 4 bytes - * real user ID 4 bytes - * real group ID 4 bytes - * process ID 4 bytes - * session ID 4 bytes - * terminal ID +/* + * token ID 1 byte + * audit ID 4 bytes + * effective user ID 4 bytes + * effective group ID 4 bytes + * real user ID 4 bytes + * real group ID 4 bytes + * process ID 4 bytes + * session ID 4 bytes + * terminal ID * port ID 8 bytes - * address type-len 4 bytes - * machine address 16 bytes + * address type-len 4 bytes + * machine address 16 bytes */ static int fetch_process64ex_tok(tokenstr_t *tok, u_char *buf, int len) ==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#58 (text+ko) ==== @@ -30,7 +30,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_token.c#57 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#58 $ */ #include <sys/types.h> @@ -783,7 +783,7 @@ u_char *dptr = NULL; if (tid->at_type == AU_IPv4) - GET_TOKEN_AREA(t, dptr, sizeof(u_char) + + GET_TOKEN_AREA(t, dptr, sizeof(u_char) + 7 * sizeof(u_int32_t) + sizeof(u_int64_t) + 2 * sizeof(u_int32_t)); else if (tid->at_type == AU_IPv6)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612151151.kBFBpZ9q004615>