IBM® Carrier Grade Server X3650 T
Revision 3.0
94
Attribute Name Operand
Type
Operations Interpretation of attr_name op val
recid Integer =, !=, <, <=, >,
>=
SysCon log record number. Integer comparison.
Val shall be 1-N.
event_type Integer =, !=, <, <=, >,
>=
SysCon event type. Integer comparison. val
shall be devadd, devmnt, devchg, devunmnt,
devfail, or devrm.
dev_type String =, != SysCon device type. strcmp of string
representation of log_dev_type with val. val shall
be a string literal; Possible dev_type values:
embedded, removable, device, or key.
severity Severity =, !=, <, <=, >,
>=
syscon_log_severity_compare of log_severity
with val. val shall be one of the Linux syslog
severities: EMERG, ALERT, CRIT, ERR,
WARNING, NOTICE, INFO, or DEBUG.
Integer =, !=, <, <=, >,
>=
Integer comparison. Val shall be 0-65536. uid
String =, != strcmp of string representation of uid with val. val
shall be root, bin, daemon, adm, lp, sync,
shutdown, halt, mail, news, uucp, operator,
games, gopher, ftp, or nobody.
Integer =, !=, <, <=, >,
>=
Integer comparison. val shall be 0-65536. gid
String =, != strcmp of string representation of gid with val.val
shall be root, bin, daemon, sys, adm, tty, disk, lp,
mem, kmem, wheel, mail, news, uucp, man,
games, gopher, dip, ftp, nobody, or users.
pid Integer =, !=, <, <=, >,
>=
Process ID Integer comparison. val shall be 0-
65536.
pgrp Integer =, !=, <, <=, >,
>=
Group process ID Integer comparison. val shall
be 0-65536.
date String =, <, > Date/Time in ISO format (like: 2004-11-
03T16:30).
time Integer =, !=, <, <=, >,
>=
Time in seconds since 1970. Interpret val as a
time_t, and perform integer comparison with
log_time.tv_sec
dev String =, != SysCon SCSI disk device node. strcmp of string
representation of log_dev with val. Typical
values:/dev/sdb, /dev/sdc1, /dev/sdd1..
mntpnt String =, !=, Mount point of SysCon device. strcmp of string
representation of log_dev with val. Typical
values:/etc/sysconfig/syscon,
/etc/sysconfig/syscon2…
=, != Text message area of log entry. strcmp of the
variable portion of the record with val.
data String
Contains substring val appears in the variable portion of
the record.
17.2.8.2.7 Acceptance Rules
This section is a supplement to Table 3. Numbers in the “AR” column of that table refer to the numbered
acceptance rules in this section. These rules specify under what circumstances
syscon_log_query_create() is permitted or required to reject a particular value of val (and return an error
code as a result).