⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 audgenl.3x

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 3X
字号:
.\" SCCSID: @(#)audgenl.3x        x.x     01/21/90.TH audgenl 3x.SH Nameaudgenl \- generate an audit record.SH Syntax#include<sys/audit.h>.PPint audgenl (\fIevent\fP [ ,\fItoken_type\fP, \fItoken_val\fP] ... , 0 ).brunsigned \fIevent\fP;.SH Arguments.TP 2 \fIevent\fPAn integer that indicates the event type of the operation being audited..TP 2\fItoken_type,token_val\fPA type and value pair defining the data to be placed in the audit record..SH Description.NXR "audgenl library routine"This routine is an interface to the .MS  audgen 2system call.  Itaccepts a variable number of arguments describing the eventand audit data, then calls .MS audgen 2with the appropriate parameters togenerate the audit record.  This routine is found in the .PN libaud.alibrary and is loaded with the .B -laudoption..PPThe argument \fIevent\fP is an integer indicating the event type of theoperation being audited, as defined in  .PN audit.h .The value of \fIevent\fPmust be between MIN_TRUSTED_EVENT andMIN_TRUSTED_EVENT + N_TRUSTED_EVENTS-1, as defined in .PN audit.h ..\".\" The next lines are to be included when V4.3 is ready:.\" , or between MIN_SITE_EVENT and.\" MIN_SITE_EVENT + N_SITE_EVENTS-1.  .\" The definintion of N_SITE_EVENTS is found in.\" .PN /sys/data/audit_data.c . .\"The argument pairscontaining \fItoken_type\fP and \fItoken_val\fP describe the datathat is to be placed into the audit record.  The argument \fItoken_type\fP describesthe type of data, as defined in .PN audit.h ..PPThe argument\fItoken_val\fP should be set to the value of the token when the token is represented by anint or short data type, or be a pointer to the data described by the token when thetoken references a character string.  .SH RestrictionsThe .MS audgen 2system call is privileged. .PPThe maximum number of \fItoken_type\fP, \fItoken_val\fP pairs allowedis 8..SH Return ValuesOn successful completion, a value of 0 is returned.  Otherwise, avalue of \-1 is returned and the global integer variable .I errnois set to indicate the error..SH Diagnostics.TP 18[EACCES]The user is not privileged for this operation..TP 18[EINVAL]The value supplied for an argument is invalid. .SH See Also.MS audgen 2

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -