Home
last modified time | relevance | path

Searched refs:sealed (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-message.c39 .sealed = false, in message_new_empty()
183 assert(!m->sealed); in add_rtattr()
239 assert_return(!m->sealed, -EPERM); in sd_netlink_message_append_string()
265 assert_return(!m->sealed, -EPERM); in sd_netlink_message_append_strv()
293 assert_return(!m->sealed, -EPERM); in sd_netlink_message_append_flag()
310 assert_return(!m->sealed, -EPERM); in sd_netlink_message_append_u8()
327 assert_return(!m->sealed, -EPERM); in sd_netlink_message_append_u16()
344 assert_return(!m->sealed, -EPERM); in sd_netlink_message_append_u32()
361 assert_return(!m->sealed, -EPERM); in sd_netlink_message_append_u64()
378 assert_return(!m->sealed, -EPERM); in sd_netlink_message_append_s8()
[all …]
Dnetlink-internal.h127 bool sealed:1; member
Dsd-netlink.c239 assert_return(!message->sealed, -EPERM); in sd_netlink_send()
274 assert_return(!messages[i]->sealed, -EPERM); in sd_netlink_sendv()
/systemd-251/src/basic/
Dmemfd-util.c57 int sealed; in memfd_map() local
63 sealed = memfd_get_sealed(fd); in memfd_map()
64 if (sealed < 0) in memfd_map()
65 return sealed; in memfd_map()
67 if (sealed) in memfd_map()
/systemd-251/src/libsystemd/sd-bus/
Dbus-message.c49 if (m->sensitive && !m->sealed) in message_free_part()
470 m->sealed = true; in bus_message_from_header()
560 m->body.sealed = true; in bus_message_from_malloc()
711 assert_return(call->sealed, -EPERM); in message_new_reply()
1170 assert_return(!m->sealed, -EPERM); in sd_bus_message_set_expect_reply()
1180 assert_return(!m->sealed, -EPERM); in sd_bus_message_set_auto_start()
1189 assert_return(!m->sealed, -EPERM); in sd_bus_message_set_allow_interactive_authorization()
1237 part->sealed = true; in part_zero()
1250 assert(!part->sealed); in part_make_space()
1326 assert(!m->sealed); in message_extend_body()
[all …]
Dbus-convenience.c188 assert_return(call->sealed, -EPERM); in sd_bus_reply_method_returnv()
234 assert_return(call->sealed, -EPERM); in sd_bus_reply_method_error()
262 assert_return(call->sealed, -EPERM); in sd_bus_reply_method_errorfv()
302 assert_return(call->sealed, -EPERM); in sd_bus_reply_method_errno()
330 assert_return(call->sealed, -EPERM); in sd_bus_reply_method_errnofv()
618 assert_return(call->sealed, -EPERM); in sd_bus_query_sender_creds()
666 assert_return(call->sealed, -EPERM); in sd_bus_query_sender_privilege()
Dbus-message.h46 bool sealed:1; member
81 bool sealed:1; member
Dsd-bus.c1908 if (m->sealed) { in bus_seal_message()
2119 if (!cookie && !m->sealed) in sd_bus_send()
2251 …assert_return(!m->sealed || (!!callback == !(m->header->flags & BUS_MESSAGE_NO_REPLY_EXPECTED)), -… in sd_bus_call_async()
2263 if (!callback && !slot && !m->sealed) in sd_bus_call_async()
4394 assert_return(m->sealed, -EINVAL); in sd_bus_enqueue_for_read()
Dbus-socket.c69 assert(m->sealed); in bus_message_setup_iovec()
/systemd-251/src/journal/
Djournald-native.c330 bool sealed; in server_process_native_file() local
340 sealed = memfd_get_sealed(fd) > 0; in server_process_native_file()
342 if (!sealed && (!ucred || ucred->uid != 0)) { in server_process_native_file()
382 if (st.st_size > ENTRY_SIZE_MAX / (sealed ? 1 : 2)) { in server_process_native_file()
387 if (sealed) { in server_process_native_file()
/systemd-251/src/libsystemd/sd-device/
Ddevice-internal.h95 bool sealed:1; /* don't read more information from uevent/db */ member
Ddevice-private.c414 device->sealed = true; in device_seal()
432 device->sealed = true; in device_verify()
861 dest->sealed = true; in device_clone_with_db()
Dsd-device.c713 if (device->uevent_loaded || device->sealed) in device_read_uevent_file()
1574 if (device->db_loaded || (!force && device->sealed)) in device_read_db_internal()
/systemd-251/docs/
DJOURNAL_NATIVE_PROTOCOL.md46 datagrams are ignored. The `memfd` file descriptor should be fully sealed. The