Searched refs:context (Results 1 - 25 of 32) sorted by relevance

12

/systemd/src/libsystemd/sd-bus/
H A Dbusctl-introspect.c64 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 Dtest-bus-server.c31 struct context { struct
42 struct context *c = p;
124 static int client(struct context *c) {
158 struct context c;
H A Dtest-bus-objects.c35 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 Downerships.conf7 <policy context="default">
11 <policy context="mandatory">
H A Dhello.conf7 <policy context="default">
H A Dsignals.conf7 <policy context="default">
H A Dmethods.conf7 <policy context="default">
H A Dcheck-own-rules.conf8 <policy context="default">
H A Dmany-rules.conf11 <policy context="default">
30 <policy context="mandatory">
H A Dtest.conf17 <policy context="default">
/systemd/tools/
H A Dxml_helper.py23 def resolve(self, url, id, context):
25 return self.resolve_filename('man/custom-entities.ent', context)
/systemd/src/coredump/
H A Dcoredump.c179 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 Dexecute.c184 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 Dexecute.h247 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 Dsocket-proxyd.c58 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 Dmmap-cache.h25 /* One context per object type, plus one of the header, plus one "additional" one */
38 unsigned context,
H A Dmmap-cache.c385 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 Dorg.freedesktop.hostname1.conf22 <policy context="default">
/systemd/src/locale/
H A Dorg.freedesktop.locale1.conf22 <policy context="default">
/systemd/src/resolve/
H A Dorg.freedesktop.resolve1.conf22 <policy context="default">
/systemd/src/timedate/
H A Dorg.freedesktop.timedate1.conf22 <policy context="default">
/systemd/src/libsystemd/sd-netlink/
H A Dlocal-addresses.c56 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 Dorg.freedesktop.import1.conf22 <policy context="default">
/systemd/src/network/
H A Dorg.freedesktop.network1.conf22 <policy context="default">
/systemd/src/machine/
H A Dorg.freedesktop.machine1.conf22 <policy context="default">

Completed in 4085 milliseconds

12