Home
last modified time | relevance | path

Searched refs:facility (Results 1 - 25 of 27) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/syslog/
H A Dsyslog0833 # o Create seperate entries in config file for each facility. #
46 for facility in $facilities; do
48 tst_resm TINFO "Doing facility: $facility..."
50 # Create the configuration file specific to this facility
55 echo "$facility.info /var/log/messages" >> $CONFIG_FILE
56 echo "$facility.info /var/log/maillog" >> $CONFIG_FILE
61 echo "filter f_syslog-$facility { level(info) and facility($facility); };" >>
[all...]
/third_party/toybox/toys/posix/
H A Dlogger.c54 int facility = LOG_USER, priority = LOG_NOTICE, len; in logger_main() local
66 facility = arrayfind(TT.p, facilities, ARRAY_LEN(facilities)); in logger_main()
67 if (facility == -1 && strncasecmp(TT.p, "local", 5)) { in logger_main()
68 facility = s1[5]-'0'; in logger_main()
69 if (facility>7 || s1[6]) facility = -1; in logger_main()
70 if (facility>=0) facility += 16; in logger_main()
72 if (facility<0) error_exit("bad facility in logger_main()
[all...]
/third_party/python/Modules/
H A Dsyslogmodule.c35 - When facility not specified to syslog() method, use default from openlog()
120 long facility = LOG_USER; in syslog_openlog() local
122 static char *keywords[] = {"ident", "logoption", "facility", 0}; in syslog_openlog()
126 "|Ull:openlog", keywords, &ident, &logopt, &facility)) in syslog_openlog()
148 if (PySys_Audit("syslog.openlog", "Oll", ident ? ident : Py_None, logopt, facility) < 0) { in syslog_openlog()
153 openlog(ident_str, logopt, facility); in syslog_openlog()
/third_party/libunwind/libunwind/doc/
H A Dlibunwind-ptrace.tex48 implementing this facility use a name-prefix of \Func{\_UPT}, which is
51 An application that wants to use the \Func{\_UPT}-facility first needs
59 only portions of the \Prog{\_UPT}-facility. For this reason, the
92 \Prog{\_UPT}-facility by definition is not available in
97 The \Prog{\_UPT}-facility assumes that a single \Prog{\_UPT}-info
100 a \Prog{\_UPT}-info structure at any given time, this facility
H A Dlibunwind.tex291 \Func{unw\_flush\_cache}(). The second facility is provided by
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dsyslog.c60 void openlog(const char *ident, int opt, int facility) in openlog() argument
75 log_facility = facility; in openlog()
/third_party/musl/src/misc/
H A Dsyslog.c62 void openlog(const char *ident, int opt, int facility) in openlog() argument
76 log_facility = facility; in openlog()
/third_party/python/Lib/logging/
H A Dhandlers.py751 # facility (0-big number). Both the priorities and the facilities map
766 # facility codes
849 facility=LOG_USER, socktype=None):
855 If facility is not specified, LOG_USER is used. If socktype is
864 self.facility = facility
939 def encodePriority(self, facility, priority):
941 Encode the facility and priority. You can pass in strings or
946 if isinstance(facility, str):
947 facility
[all...]
/third_party/NuttX/include/
H A Dsyslog.h60 /* The facility argument is used to specify what type of program is logging
67 * LOG_DAEMON - System daemons without separate facility value
142 * sent to the logging facility. The syslog() function ensures that
146 * LOG_NDELAY - Open the connection to the logging facility immediately.
159 * The facility argument encodes a default facility to be assigned to all
160 * messages that do not have an explicit facility already encoded. The
161 * initial default facility is LOG_USER.
168 void openlog(FAR const char *ident, int option, int facility);
190 * ORing the facility an
[all...]
/third_party/ltp/testcases/kernel/logging/kmsg/
H A Dkmsg01.c280 int i, facility, prio; in test_inject() local
285 /* test all combinations of prio 0-7, facility 0-15 */ in test_inject()
288 facility = (i >> 3); in test_inject()
290 "facility: %d\n", random(), prio, facility); in test_inject()
304 /* check that facility is not 0 (LOG_KERN). */ in test_inject()
310 tst_res(TFAIL, "facility 0 found: %s", tmp); in test_inject()
/third_party/toybox/toys/pending/
H A Dsyslogd.c50 uint32_t facility[8]; member
143 if (set & 0x1) file->facility[i] |= ~facval; in resolve_config()
361 if (!((tf->facility[lvl] & (1 << fac)) || (tf->level[fac] & (1<<lvl)))) { in logmsg()
/third_party/toybox/lib/
H A Dlib.c1419 int i, facility = LOG_DAEMON; in loggit() local
1422 for (i = 0; i<3; i++) if (isatty(i)) facility = LOG_AUTH; in loggit()
1423 openlog(toys.which->name, LOG_PID, facility); in loggit()
/third_party/python/Lib/test/
H A Daudit-tests.py437 syslog.openlog(logoption=syslog.LOG_NDELAY, facility=syslog.LOG_LOCAL0)
/third_party/nghttp2/src/
H A Dshrpx_config.cc3236 int facility = int_syslog_facility(optarg); in parse_config() local
3237 if (facility == -1) { in parse_config()
3238 LOG(ERROR) << opt << ": Unknown syslog facility: " << optarg; in parse_config()
3241 config->logging.syslog_facility = facility; in parse_config()
4221 StringRef str_syslog_facility(int facility) { in str_syslog_facility() argument
4222 switch (facility) { in str_syslog_facility()
H A Dshrpx_config.h140 StringRef::from_lit("syslog-facility");
1415 // Returns string for syslog |facility|.
1416 StringRef str_syslog_facility(int facility);
1418 // Returns integer value of syslog |facility| string.
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm_avx2/crypto/
H A Ds390xcpuid.S138 tm S390X_STFLE+3(%r4),0x40 # check for store-clock-fast facility
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm/crypto/
H A Ds390xcpuid.S138 tm S390X_STFLE+3(%r4),0x40 # check for store-clock-fast facility
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm_avx2/crypto/
H A Ds390xcpuid.S138 tm S390X_STFLE+3(%r4),0x40 # check for store-clock-fast facility
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm/crypto/
H A Ds390xcpuid.S138 tm S390X_STFLE+3(%r4),0x40 # check for store-clock-fast facility
/third_party/rust/crates/libc/src/vxworks/
H A Dmod.rs1274 pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); in openlog()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs1388 pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); in openlog()
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm/crypto/aes/
H A Daes-s390x.S1663 lghi %r9,1024+16 # sl[g]fi is extended-immediate facility
1815 lghi %r9,1024+16 # sl[g]fi is extended-immediate facility
/third_party/node/deps/openssl/config/archs/linux32-s390x/asm_avx2/crypto/aes/
H A Daes-s390x.S1663 lghi %r9,1024+16 # sl[g]fi is extended-immediate facility
1815 lghi %r9,1024+16 # sl[g]fi is extended-immediate facility
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm/crypto/aes/
H A Daes-s390x.S1663 lghi %r9,1024+16 # sl[g]fi is extended-immediate facility
1815 lghi %r9,1024+16 # sl[g]fi is extended-immediate facility
/third_party/node/deps/openssl/config/archs/linux64-s390x/asm_avx2/crypto/aes/
H A Daes-s390x.S1663 lghi %r9,1024+16 # sl[g]fi is extended-immediate facility
1815 lghi %r9,1024+16 # sl[g]fi is extended-immediate facility

Completed in 32 milliseconds

12