/systemd/src/libsystemd/sd-bus/ |
H A D | busctl-introspect.c | 64 static int parse_xml_annotation(Context *context, uint64_t *flags) { argument 74 assert(context); 81 t = xml_tokenize(&context->current, &name, &context->xml_state, NULL); 179 static int parse_xml_node(Context *context, const char *prefix, unsigned n_depth) { argument 207 assert(context); 219 t = xml_tokenize(&context->current, &name, &context->xml_state, NULL); 248 r = parse_xml_node(context, np, n_depth+1); 259 if (context 742 Context context = { local [all...] |
H A D | test-bus-server.c | 31 struct context { struct 42 struct context *c = p; 124 static int client(struct context *c) { 158 struct context c;
|
H A D | test-bus-objects.c | 35 struct context { struct 44 struct context *c = userdata; 70 struct context *c = userdata; 84 struct context *c = userdata; 96 struct context *c = userdata; 202 SD_BUS_WRITABLE_PROPERTY("AutomaticStringProperty", "s", NULL, NULL, offsetof(struct context, automatic_string_property), 0), 203 SD_BUS_WRITABLE_PROPERTY("AutomaticIntegerProperty", "u", NULL, NULL, offsetof(struct context, automatic_integer_property), 0), 220 SD_BUS_PROPERTY("AnExplicitProperty", "s", NULL, offsetof(struct context, something), SD_BUS_VTABLE_PROPERTY_EXPLICIT|SD_BUS_VTABLE_PROPERTY_EMITS_INVALIDATION), 241 struct context *c = p; 297 static int client(struct context * [all...] |
/systemd/test/bus-policy/ |
H A D | ownerships.conf | 7 <policy context="default"> 11 <policy context="mandatory">
|
H A D | hello.conf | 7 <policy context="default">
|
H A D | signals.conf | 7 <policy context="default">
|
H A D | methods.conf | 7 <policy context="default">
|
H A D | check-own-rules.conf | 8 <policy context="default">
|
H A D | many-rules.conf | 11 <policy context="default"> 30 <policy context="mandatory">
|
H A D | test.conf | 17 <policy context="default">
|
/systemd/tools/ |
H A D | xml_helper.py | 23 def resolve(self, url, id, context): 25 return self.resolve_filename('man/custom-entities.ent', context)
|
/systemd/src/coredump/ |
H A D | coredump.c | 179 static int fix_xattr(int fd, const char *context[_CONTEXT_MAX]) { argument 202 if (isempty(context[i]) || !xattrs[i]) 205 k = fsetxattr(fd, xattrs[i], context[i], strlen(context[i]), XATTR_CREATE); 219 const char *context[_CONTEXT_MAX], 225 assert(context); 230 (void) fix_xattr(fd, context); 258 static int make_filename(const char *context[_CONTEXT_MAX], char **ret) { argument 263 assert(context); 265 c = filename_escape(context[CONTEXT_COM 215 fix_permissions( int fd, const char *filename, const char *target, const char *context[_CONTEXT_MAX], uid_t uid) argument 297 save_external_coredump( const char *context[_CONTEXT_MAX], int input_fd, char **ret_filename, int *ret_node_fd, int *ret_data_fd, uint64_t *ret_size) argument 563 change_uid_gid(const char *context[]) argument 589 submit_coredump( const char *context[_CONTEXT_MAX], struct iovec *iovec, size_t n_iovec_allocated, size_t n_iovec, int input_fd) argument 683 map_context_fields(const struct iovec *iovec, const char *context[]) argument 722 const char *context[_CONTEXT_MAX] = {}; local 869 process_journald_crash(const char *context[], int input_fd) argument 910 const char *context[_CONTEXT_MAX]; local [all...] |
/systemd/src/core/ |
H A D | execute.c | 184 static const char *exec_context_tty_path(const ExecContext *context) { argument 185 assert(context); 187 if (context->stdio_as_fds) 190 if (context->tty_path) 191 return context->tty_path; 196 static void exec_context_tty_reset(const ExecContext *context, const ExecParameters *p) { argument 199 assert(context); 201 path = exec_context_tty_path(context); 203 if (context->tty_vhangup) { 210 if (context 291 connect_logger_as(const ExecContext *context, ExecOutput output, const char *ident, const char *unit_id, int nfd, uid_t uid, gid_t gid) argument 383 setup_input( const ExecContext *context, const ExecParameters *params, int socket_fd) argument 441 setup_output( Unit *unit, const ExecContext *context, const ExecParameters *params, int fileno, int socket_fd, const char *ident, uid_t uid, gid_t gid) argument 675 enforce_groups(const ExecContext *context, const char *username, gid_t gid) argument 747 enforce_user(const ExecContext *context, uid_t uid) argument 1371 exec_needs_mount_namespace( const ExecContext *context, const ExecParameters *params, ExecRuntime *runtime) argument 1439 exec_child( Unit *unit, ExecCommand *command, const ExecContext *context, const ExecParameters *params, ExecRuntime *runtime, char **argv, int socket_fd, int *fds, unsigned n_fds, char **files_env, int *exit_status) argument 2059 exec_spawn(Unit *unit, ExecCommand *command, const ExecContext *context, const ExecParameters *params, ExecRuntime *runtime, pid_t *ret) argument 2731 exec_status_exit(ExecStatus *s, ExecContext *context, pid_t pid, int code, int status) argument [all...] |
H A D | execute.h | 247 const ExecContext *context, 278 void exec_status_exit(ExecStatus *s, ExecContext *context, pid_t pid, int code, int status);
|
/systemd/src/socket-proxy/ |
H A D | socket-proxyd.c | 58 Context *context; member in struct:Connection 75 if (c->context) 76 set_remove(c->context->connections, c); 92 static void context_free(Context *context) { argument 96 assert(context); 98 while ((es = set_steal_first(context->listen))) 101 while ((c = set_first(context->connections))) 104 set_free(context->listen); 105 set_free(context->connections); 107 sd_event_unref(context 450 add_connection_socket(Context *context, int fd) argument 493 Context *context = userdata; local 526 add_listen_socket(Context *context, int fd) argument 631 Context context = {}; local [all...] |
/systemd/src/journal/ |
H A D | mmap-cache.h | 25 /* One context per object type, plus one of the header, plus one "additional" one */ 38 unsigned context,
|
H A D | mmap-cache.c | 385 unsigned context, 399 c = m->contexts[context]; 403 assert(c->id == context); 428 unsigned context, 459 c = context_add(m, context); 501 unsigned context, 554 c = context_add(m, context); 582 unsigned context, 596 assert(context < MMAP_CACHE_MAX_CONTEXTS); 598 /* Check whether the current context i 381 try_context( MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, size_t size, void **ret) argument 424 find_mmap( MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, size_t size, void **ret) argument 497 add_mmap( MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, size_t size, struct stat *st, void **ret) argument 578 mmap_cache_get( MMapCache *m, int fd, int prot, unsigned context, bool keep_always, uint64_t offset, size_t size, struct stat *st, void **ret) argument [all...] |
/systemd/src/hostname/ |
H A D | org.freedesktop.hostname1.conf | 22 <policy context="default">
|
/systemd/src/locale/ |
H A D | org.freedesktop.locale1.conf | 22 <policy context="default">
|
/systemd/src/resolve/ |
H A D | org.freedesktop.resolve1.conf | 22 <policy context="default">
|
/systemd/src/timedate/ |
H A D | org.freedesktop.timedate1.conf | 22 <policy context="default">
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | local-addresses.c | 56 int local_addresses(sd_netlink *context, int ifindex, int af, struct local_address **ret) { argument 66 if (context) 67 rtnl = sd_netlink_ref(context); 167 int local_gateways(sd_netlink *context, int ifindex, int af, struct local_address **ret) { argument 177 if (context) 178 rtnl = sd_netlink_ref(context);
|
/systemd/src/import/ |
H A D | org.freedesktop.import1.conf | 22 <policy context="default">
|
/systemd/src/network/ |
H A D | org.freedesktop.network1.conf | 22 <policy context="default">
|
/systemd/src/machine/ |
H A D | org.freedesktop.machine1.conf | 22 <policy context="default">
|