1use zbus::proxy;
23
24use crate::{DirectorySymlink, Exec, ExtensionImage, MountImage, Process};
25
26#[proxy(
27 interface = "org.freedesktop.systemd1.Socket",
28 default_service = "org.freedesktop.systemd1"
29)]
30pub trait Socket {
31 fn attach_processes(&self, subcgroup: &str, pids: &[u32]) -> zbus::Result<()>;
33
34 fn get_processes(&self) -> zbus::Result<Vec<Process>>;
36
37 #[zbus(property)]
39 fn accept(&self) -> zbus::Result<bool>;
40
41 #[zbus(property, name = "AllowedCPUs")]
43 fn allowed_cpus(&self) -> zbus::Result<Vec<u8>>;
44
45 #[zbus(property)]
47 fn allowed_memory_nodes(&self) -> zbus::Result<Vec<u8>>;
48
49 #[zbus(property)]
51 fn ambient_capabilities(&self) -> zbus::Result<u64>;
52
53 #[zbus(property)]
55 fn app_armor_profile(&self) -> zbus::Result<(bool, String)>;
56
57 #[zbus(property, name = "BPFProgram")]
59 fn bpf_program(&self) -> zbus::Result<Vec<(String, String)>>;
60
61 #[zbus(property)]
63 fn backlog(&self) -> zbus::Result<u32>;
64
65 #[zbus(property, name = "BindIPv6Only")]
67 fn bind_ipv6_only(&self) -> zbus::Result<String>;
68
69 #[zbus(property)]
71 fn bind_paths(&self) -> zbus::Result<Vec<(String, String, bool, u64)>>;
72
73 #[zbus(property)]
75 fn bind_read_only_paths(&self) -> zbus::Result<Vec<(String, String, bool, u64)>>;
76
77 #[zbus(property)]
79 fn bind_to_device(&self) -> zbus::Result<String>;
80
81 #[zbus(property, name = "BlockIOAccounting")]
83 fn block_io_accounting(&self) -> zbus::Result<bool>;
84
85 #[zbus(property, name = "BlockIODeviceWeight")]
87 fn block_io_device_weight(&self) -> zbus::Result<Vec<(String, u64)>>;
88
89 #[zbus(property, name = "BlockIOReadBandwidth")]
91 fn block_io_read_bandwidth(&self) -> zbus::Result<Vec<(String, u64)>>;
92
93 #[zbus(property, name = "BlockIOWeight")]
95 fn block_io_weight(&self) -> zbus::Result<u64>;
96
97 #[zbus(property, name = "BlockIOWriteBandwidth")]
99 fn block_io_write_bandwidth(&self) -> zbus::Result<Vec<(String, u64)>>;
100
101 #[zbus(property)]
103 fn broadcast(&self) -> zbus::Result<bool>;
104
105 #[zbus(property, name = "CPUAccounting")]
107 fn cpu_accounting(&self) -> zbus::Result<bool>;
108
109 #[zbus(property, name = "CPUAffinity")]
111 fn cpu_affinity(&self) -> zbus::Result<Vec<u8>>;
112
113 #[zbus(property, name = "CPUAffinityFromNUMA")]
115 fn cpu_affinity_from_numa(&self) -> zbus::Result<bool>;
116
117 #[zbus(property, name = "CPUQuotaPerSecUSec")]
119 fn cpu_quota_per_sec_usec(&self) -> zbus::Result<u64>;
120
121 #[zbus(property, name = "CPUQuotaPeriodUSec")]
123 fn cpu_quota_period_usec(&self) -> zbus::Result<u64>;
124
125 #[zbus(property, name = "CPUSchedulingPolicy")]
127 fn cpu_scheduling_policy(&self) -> zbus::Result<i32>;
128
129 #[zbus(property, name = "CPUSchedulingPriority")]
131 fn cpu_scheduling_priority(&self) -> zbus::Result<i32>;
132
133 #[zbus(property, name = "CPUSchedulingResetOnFork")]
135 fn cpu_scheduling_reset_on_fork(&self) -> zbus::Result<bool>;
136
137 #[zbus(property, name = "CPUShares")]
139 fn cpu_shares(&self) -> zbus::Result<u64>;
140
141 #[zbus(property, name = "CPUUsageNSec")]
143 fn cpu_usage_nsec(&self) -> zbus::Result<u64>;
144
145 #[zbus(property, name = "CPUWeight")]
147 fn cpu_weight(&self) -> zbus::Result<u64>;
148
149 #[zbus(property)]
151 fn cache_directory(&self) -> zbus::Result<Vec<String>>;
152
153 #[zbus(property)]
155 fn cache_directory_mode(&self) -> zbus::Result<u32>;
156
157 #[zbus(property)]
159 fn cache_directory_symlink(&self) -> zbus::Result<Vec<DirectorySymlink>>;
160
161 #[zbus(property)]
163 fn capability_bounding_set(&self) -> zbus::Result<u64>;
164
165 #[zbus(property)]
167 fn configuration_directory(&self) -> zbus::Result<Vec<String>>;
168
169 #[zbus(property)]
171 fn configuration_directory_mode(&self) -> zbus::Result<u32>;
172
173 #[zbus(property)]
175 fn control_group(&self) -> zbus::Result<String>;
176
177 #[zbus(property)]
179 fn control_group_id(&self) -> zbus::Result<u64>;
180
181 #[zbus(property, name = "ControlPID")]
183 fn control_pid(&self) -> zbus::Result<u32>;
184
185 #[zbus(property)]
187 fn coredump_filter(&self) -> zbus::Result<u64>;
188
189 #[zbus(property)]
191 fn default_memory_low(&self) -> zbus::Result<u64>;
192
193 #[zbus(property)]
195 fn default_memory_min(&self) -> zbus::Result<u64>;
196
197 #[zbus(property, name = "DeferAcceptUSec")]
199 fn defer_accept_usec(&self) -> zbus::Result<u64>;
200
201 #[zbus(property)]
203 fn delegate(&self) -> zbus::Result<bool>;
204
205 #[zbus(property)]
207 fn delegate_controllers(&self) -> zbus::Result<Vec<String>>;
208
209 #[zbus(property)]
211 fn device_allow(&self) -> zbus::Result<Vec<(String, String)>>;
212
213 #[zbus(property)]
215 fn device_policy(&self) -> zbus::Result<String>;
216
217 #[zbus(property)]
219 fn directory_mode(&self) -> zbus::Result<u32>;
220
221 #[zbus(property)]
223 fn disable_controllers(&self) -> zbus::Result<Vec<String>>;
224
225 #[zbus(property)]
227 fn dynamic_user(&self) -> zbus::Result<bool>;
228
229 #[zbus(property, name = "EffectiveCPUs")]
231 fn effective_cpus(&self) -> zbus::Result<Vec<u8>>;
232
233 #[zbus(property)]
235 fn effective_memory_nodes(&self) -> zbus::Result<Vec<u8>>;
236
237 #[zbus(property)]
239 fn environment(&self) -> zbus::Result<Vec<String>>;
240
241 #[zbus(property)]
243 fn environment_files(&self) -> zbus::Result<Vec<(String, bool)>>;
244
245 #[zbus(property)]
247 fn exec_paths(&self) -> zbus::Result<Vec<String>>;
248
249 #[zbus(property)]
251 fn exec_search_path(&self) -> zbus::Result<Vec<String>>;
252
253 #[zbus(property)]
255 fn exec_start_post(&self) -> zbus::Result<Vec<Exec>>;
256
257 #[zbus(property)]
259 fn exec_start_pre(&self) -> zbus::Result<Vec<Exec>>;
260
261 #[zbus(property)]
263 fn exec_stop_post(&self) -> zbus::Result<Vec<Exec>>;
264
265 #[zbus(property)]
267 fn exec_stop_pre(&self) -> zbus::Result<Vec<Exec>>;
268
269 #[zbus(property)]
271 fn extension_directories(&self) -> zbus::Result<Vec<String>>;
272
273 #[zbus(property)]
275 fn extension_images(&self) -> zbus::Result<Vec<ExtensionImage>>;
276
277 #[zbus(property)]
279 fn file_descriptor_name(&self) -> zbus::Result<String>;
280
281 #[zbus(property)]
283 fn final_kill_signal(&self) -> zbus::Result<i32>;
284
285 #[zbus(property)]
287 fn flush_pending(&self) -> zbus::Result<bool>;
288
289 #[zbus(property)]
291 fn free_bind(&self) -> zbus::Result<bool>;
292
293 #[zbus(property, name = "GID")]
295 fn gid(&self) -> zbus::Result<u32>;
296
297 #[zbus(property)]
299 fn group(&self) -> zbus::Result<String>;
300
301 #[zbus(property, name = "IOAccounting")]
303 fn io_accounting(&self) -> zbus::Result<bool>;
304
305 #[zbus(property, name = "IODeviceLatencyTargetUSec")]
307 fn io_device_latency_target_usec(&self) -> zbus::Result<Vec<(String, u64)>>;
308
309 #[zbus(property, name = "IODeviceWeight")]
311 fn io_device_weight(&self) -> zbus::Result<Vec<(String, u64)>>;
312
313 #[zbus(property, name = "IOReadBandwidthMax")]
315 fn io_read_bandwidth_max(&self) -> zbus::Result<Vec<(String, u64)>>;
316
317 #[zbus(property, name = "IOReadBytes")]
319 fn io_read_bytes(&self) -> zbus::Result<u64>;
320
321 #[zbus(property, name = "IOReadIOPSMax")]
323 fn io_read_iops_max(&self) -> zbus::Result<Vec<(String, u64)>>;
324
325 #[zbus(property, name = "IOReadOperations")]
327 fn io_read_operations(&self) -> zbus::Result<u64>;
328
329 #[zbus(property, name = "IOSchedulingClass")]
331 fn io_scheduling_class(&self) -> zbus::Result<i32>;
332
333 #[zbus(property, name = "IOSchedulingPriority")]
335 fn io_scheduling_priority(&self) -> zbus::Result<i32>;
336
337 #[zbus(property, name = "IOWeight")]
339 fn io_weight(&self) -> zbus::Result<u64>;
340
341 #[zbus(property, name = "IOWriteBandwidthMax")]
343 fn io_write_bandwidth_max(&self) -> zbus::Result<Vec<(String, u64)>>;
344
345 #[zbus(property, name = "IOWriteBytes")]
347 fn io_write_bytes(&self) -> zbus::Result<u64>;
348
349 #[zbus(property, name = "IOWriteIOPSMax")]
351 fn iowrite_iops_max(&self) -> zbus::Result<Vec<(String, u64)>>;
352
353 #[zbus(property, name = "IOWriteOperations")]
355 fn io_write_operations(&self) -> zbus::Result<u64>;
356
357 #[zbus(property, name = "IPAccounting")]
359 fn ip_accounting(&self) -> zbus::Result<bool>;
360
361 #[zbus(property, name = "IPAddressAllow")]
363 fn ip_address_allow(&self) -> zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
364
365 #[zbus(property, name = "IPAddressDeny")]
367 fn ip_address_deny(&self) -> zbus::Result<Vec<(i32, Vec<u8>, u32)>>;
368
369 #[zbus(property, name = "IPCNamespacePath")]
371 fn ipc_namespace_path(&self) -> zbus::Result<String>;
372
373 #[zbus(property, name = "IPEgressBytes")]
375 fn ip_egress_bytes(&self) -> zbus::Result<u64>;
376
377 #[zbus(property, name = "IPEgressFilterPath")]
379 fn ip_egress_filter_path(&self) -> zbus::Result<Vec<String>>;
380
381 #[zbus(property, name = "IPEgressPackets")]
383 fn ip_egress_packets(&self) -> zbus::Result<u64>;
384
385 #[zbus(property, name = "IPIngressBytes")]
387 fn ip_ingress_bytes(&self) -> zbus::Result<u64>;
388
389 #[zbus(property, name = "IPIngressFilterPath")]
391 fn ip_ingress_filter_path(&self) -> zbus::Result<Vec<String>>;
392
393 #[zbus(property, name = "IPIngressPackets")]
395 fn ip_ingress_packets(&self) -> zbus::Result<u64>;
396
397 #[zbus(property, name = "IPTOS")]
399 fn ip_tos(&self) -> zbus::Result<i32>;
400
401 #[zbus(property, name = "IPTTL")]
403 fn ip_ttl(&self) -> zbus::Result<i32>;
404
405 #[zbus(property, name = "IgnoreSIGPIPE")]
407 fn ignore_sigpipe(&self) -> zbus::Result<bool>;
408
409 #[zbus(property)]
411 fn inaccessible_paths(&self) -> zbus::Result<Vec<String>>;
412
413 #[zbus(property)]
415 fn keep_alive(&self) -> zbus::Result<bool>;
416
417 #[zbus(property, name = "KeepAliveIntervalUSec")]
419 fn keep_alive_interval_usec(&self) -> zbus::Result<u64>;
420
421 #[zbus(property)]
423 fn keep_alive_probes(&self) -> zbus::Result<u32>;
424
425 #[zbus(property, name = "KeepAliveTimeUSec")]
427 fn keep_alive_time_usec(&self) -> zbus::Result<u64>;
428
429 #[zbus(property)]
431 fn keyring_mode(&self) -> zbus::Result<String>;
432
433 #[zbus(property)]
435 fn kill_mode(&self) -> zbus::Result<String>;
436
437 #[zbus(property)]
439 fn kill_signal(&self) -> zbus::Result<i32>;
440
441 #[zbus(property, name = "LimitAS")]
443 fn limit_as(&self) -> zbus::Result<u64>;
444
445 #[zbus(property, name = "LimitASSoft")]
447 fn limit_as_soft(&self) -> zbus::Result<u64>;
448
449 #[zbus(property, name = "LimitCORE")]
451 fn limit_core(&self) -> zbus::Result<u64>;
452
453 #[zbus(property, name = "LimitCORESoft")]
455 fn limit_core_soft(&self) -> zbus::Result<u64>;
456
457 #[zbus(property, name = "LimitCPU")]
459 fn limit_cpu(&self) -> zbus::Result<u64>;
460
461 #[zbus(property, name = "LimitCPUSoft")]
463 fn limit_cpu_soft(&self) -> zbus::Result<u64>;
464
465 #[zbus(property, name = "LimitDATA")]
467 fn limit_data(&self) -> zbus::Result<u64>;
468
469 #[zbus(property, name = "LimitDATASoft")]
471 fn limit_data_soft(&self) -> zbus::Result<u64>;
472
473 #[zbus(property, name = "LimitFSIZE")]
475 fn limit_fsize(&self) -> zbus::Result<u64>;
476
477 #[zbus(property, name = "LimitFSIZESoft")]
479 fn limit_fsize_soft(&self) -> zbus::Result<u64>;
480
481 #[zbus(property, name = "LimitLOCKS")]
483 fn limit_locks(&self) -> zbus::Result<u64>;
484
485 #[zbus(property, name = "LimitLOCKSSoft")]
487 fn limit_locks_soft(&self) -> zbus::Result<u64>;
488
489 #[zbus(property, name = "LimitMEMLOCK")]
491 fn limit_memlock(&self) -> zbus::Result<u64>;
492
493 #[zbus(property, name = "LimitMEMLOCKSoft")]
495 fn limit_memlock_soft(&self) -> zbus::Result<u64>;
496
497 #[zbus(property, name = "LimitMSGQUEUE")]
499 fn limit_msgqueue(&self) -> zbus::Result<u64>;
500
501 #[zbus(property, name = "LimitMSGQUEUESoft")]
503 fn limit_msgqueue_soft(&self) -> zbus::Result<u64>;
504
505 #[zbus(property, name = "LimitNICE")]
507 fn limit_nice(&self) -> zbus::Result<u64>;
508
509 #[zbus(property, name = "LimitNICESoft")]
511 fn limit_nice_soft(&self) -> zbus::Result<u64>;
512
513 #[zbus(property, name = "LimitNOFILE")]
515 fn limit_nofile(&self) -> zbus::Result<u64>;
516
517 #[zbus(property, name = "LimitNOFILESoft")]
519 fn limit_nofile_soft(&self) -> zbus::Result<u64>;
520
521 #[zbus(property, name = "LimitNPROC")]
523 fn limit_nproc(&self) -> zbus::Result<u64>;
524
525 #[zbus(property, name = "LimitNPROCSoft")]
527 fn limit_nproc_soft(&self) -> zbus::Result<u64>;
528
529 #[zbus(property, name = "LimitRSS")]
531 fn limit_rss(&self) -> zbus::Result<u64>;
532
533 #[zbus(property, name = "LimitRSSSoft")]
535 fn limit_rss_soft(&self) -> zbus::Result<u64>;
536
537 #[zbus(property, name = "LimitRTPRIO")]
539 fn limit_rtprio(&self) -> zbus::Result<u64>;
540
541 #[zbus(property, name = "LimitRTPRIOSoft")]
543 fn limit_rtprio_soft(&self) -> zbus::Result<u64>;
544
545 #[zbus(property, name = "LimitRTTIME")]
547 fn limit_rttime(&self) -> zbus::Result<u64>;
548
549 #[zbus(property, name = "LimitRTTIMESoft")]
551 fn limit_rttime_soft(&self) -> zbus::Result<u64>;
552
553 #[zbus(property, name = "LimitSIGPENDING")]
555 fn limit_sigpending(&self) -> zbus::Result<u64>;
556
557 #[zbus(property, name = "LimitSIGPENDINGSoft")]
559 fn limit_sigpending_soft(&self) -> zbus::Result<u64>;
560
561 #[zbus(property, name = "LimitSTACK")]
563 fn limit_stack(&self) -> zbus::Result<u64>;
564
565 #[zbus(property, name = "LimitSTACKSoft")]
567 fn limit_stack_soft(&self) -> zbus::Result<u64>;
568
569 #[zbus(property)]
571 fn listen(&self) -> zbus::Result<Vec<(String, String)>>;
572
573 #[zbus(property)]
575 fn load_credential(&self) -> zbus::Result<Vec<(String, String)>>;
576
577 #[zbus(property)]
579 fn load_credential_encrypted(&self) -> zbus::Result<Vec<(String, String)>>;
580
581 #[zbus(property)]
583 fn lock_personality(&self) -> zbus::Result<bool>;
584
585 #[zbus(property)]
587 fn log_extra_fields(&self) -> zbus::Result<Vec<Vec<u8>>>;
588
589 #[zbus(property)]
591 fn log_level_max(&self) -> zbus::Result<i32>;
592
593 #[zbus(property)]
595 fn log_namespace(&self) -> zbus::Result<String>;
596
597 #[zbus(property)]
599 fn log_rate_limit_burst(&self) -> zbus::Result<u32>;
600
601 #[zbus(property, name = "LogRateLimitIntervalUSec")]
603 fn log_rate_limit_interval_usec(&self) -> zbus::Result<u64>;
604
605 #[zbus(property)]
607 fn logs_directory(&self) -> zbus::Result<Vec<String>>;
608
609 #[zbus(property)]
611 fn logs_directory_mode(&self) -> zbus::Result<u32>;
612
613 #[zbus(property)]
615 fn logs_directory_symlink(&self) -> zbus::Result<Vec<DirectorySymlink>>;
616
617 #[zbus(property, name = "ManagedOOMMemoryPressure")]
619 fn managed_oom_memory_pressure(&self) -> zbus::Result<String>;
620
621 #[zbus(property, name = "ManagedOOMMemoryPressureLimit")]
623 fn managed_oom_memory_pressure_limit(&self) -> zbus::Result<u32>;
624
625 #[zbus(property, name = "ManagedOOMPreference")]
627 fn managed_oom_preference(&self) -> zbus::Result<String>;
628
629 #[zbus(property, name = "ManagedOOMSwap")]
631 fn managed_oom_swap(&self) -> zbus::Result<String>;
632
633 #[zbus(property)]
635 fn mark(&self) -> zbus::Result<i32>;
636
637 #[zbus(property)]
639 fn max_connections(&self) -> zbus::Result<u32>;
640
641 #[zbus(property)]
643 fn max_connections_per_source(&self) -> zbus::Result<u32>;
644
645 #[zbus(property)]
647 fn memory_accounting(&self) -> zbus::Result<bool>;
648
649 #[zbus(property)]
651 fn memory_available(&self) -> zbus::Result<u64>;
652
653 #[zbus(property)]
655 fn memory_current(&self) -> zbus::Result<u64>;
656
657 #[zbus(property)]
659 fn memory_deny_write_execute(&self) -> zbus::Result<bool>;
660
661 #[zbus(property)]
663 fn memory_high(&self) -> zbus::Result<u64>;
664
665 #[zbus(property)]
667 fn memory_limit(&self) -> zbus::Result<u64>;
668
669 #[zbus(property)]
671 fn memory_low(&self) -> zbus::Result<u64>;
672
673 #[zbus(property)]
675 fn memory_max(&self) -> zbus::Result<u64>;
676
677 #[zbus(property)]
679 fn memory_min(&self) -> zbus::Result<u64>;
680
681 #[zbus(property)]
683 fn memory_swap_max(&self) -> zbus::Result<u64>;
684
685 #[zbus(property)]
687 fn message_queue_max_messages(&self) -> zbus::Result<i64>;
688
689 #[zbus(property)]
691 fn message_queue_message_size(&self) -> zbus::Result<i64>;
692
693 #[zbus(property, name = "MountAPIVFS")]
695 fn mount_apivfs(&self) -> zbus::Result<bool>;
696
697 #[zbus(property)]
699 fn mount_flags(&self) -> zbus::Result<u64>;
700
701 #[zbus(property)]
703 fn mount_images(&self) -> zbus::Result<Vec<MountImage>>;
704
705 #[zbus(property, name = "NAccepted")]
707 fn n_accepted(&self) -> zbus::Result<u32>;
708
709 #[zbus(property, name = "NConnections")]
711 fn n_connections(&self) -> zbus::Result<u32>;
712
713 #[zbus(property, name = "NRefused")]
715 fn n_refused(&self) -> zbus::Result<u32>;
716
717 #[zbus(property, name = "NUMAMask")]
719 fn numa_mask(&self) -> zbus::Result<Vec<u8>>;
720
721 #[zbus(property, name = "NUMAPolicy")]
723 fn numa_policy(&self) -> zbus::Result<i32>;
724
725 #[zbus(property)]
727 fn network_namespace_path(&self) -> zbus::Result<String>;
728
729 #[zbus(property)]
731 fn nice(&self) -> zbus::Result<i32>;
732
733 #[zbus(property)]
735 fn no_delay(&self) -> zbus::Result<bool>;
736
737 #[zbus(property)]
739 fn no_exec_paths(&self) -> zbus::Result<Vec<String>>;
740
741 #[zbus(property)]
743 fn no_new_privileges(&self) -> zbus::Result<bool>;
744
745 #[zbus(property)]
747 fn non_blocking(&self) -> zbus::Result<bool>;
748
749 #[zbus(property, name = "OOMScoreAdjust")]
751 fn oom_score_adjust(&self) -> zbus::Result<i32>;
752
753 #[zbus(property, name = "PAMName")]
755 fn pam_name(&self) -> zbus::Result<String>;
756
757 #[zbus(property)]
759 fn pass_credentials(&self) -> zbus::Result<bool>;
760
761 #[zbus(property)]
763 fn pass_environment(&self) -> zbus::Result<Vec<String>>;
764
765 #[zbus(property)]
767 fn pass_packet_info(&self) -> zbus::Result<bool>;
768
769 #[zbus(property)]
771 fn pass_security(&self) -> zbus::Result<bool>;
772
773 #[zbus(property)]
775 fn personality(&self) -> zbus::Result<String>;
776
777 #[zbus(property)]
779 fn pipe_size(&self) -> zbus::Result<u64>;
780
781 #[zbus(property)]
783 fn priority(&self) -> zbus::Result<i32>;
784
785 #[zbus(property)]
787 fn private_devices(&self) -> zbus::Result<bool>;
788
789 #[zbus(property, name = "PrivateIPC")]
791 fn private_ipc(&self) -> zbus::Result<bool>;
792
793 #[zbus(property)]
795 fn private_mounts(&self) -> zbus::Result<bool>;
796
797 #[zbus(property)]
799 fn private_network(&self) -> zbus::Result<bool>;
800
801 #[zbus(property)]
803 fn private_tmp(&self) -> zbus::Result<bool>;
804
805 #[zbus(property)]
807 fn private_users(&self) -> zbus::Result<bool>;
808
809 #[zbus(property)]
811 fn proc_subset(&self) -> zbus::Result<String>;
812
813 #[zbus(property)]
815 fn protect_clock(&self) -> zbus::Result<bool>;
816
817 #[zbus(property)]
819 fn protect_control_groups(&self) -> zbus::Result<bool>;
820
821 #[zbus(property)]
823 fn protect_home(&self) -> zbus::Result<String>;
824
825 #[zbus(property)]
827 fn protect_hostname(&self) -> zbus::Result<bool>;
828
829 #[zbus(property)]
831 fn protect_kernel_logs(&self) -> zbus::Result<bool>;
832
833 #[zbus(property)]
835 fn protect_kernel_modules(&self) -> zbus::Result<bool>;
836
837 #[zbus(property)]
839 fn protect_kernel_tunables(&self) -> zbus::Result<bool>;
840
841 #[zbus(property)]
843 fn protect_proc(&self) -> zbus::Result<String>;
844
845 #[zbus(property)]
847 fn protect_system(&self) -> zbus::Result<String>;
848
849 #[zbus(property)]
851 fn read_only_paths(&self) -> zbus::Result<Vec<String>>;
852
853 #[zbus(property)]
855 fn read_write_paths(&self) -> zbus::Result<Vec<String>>;
856
857 #[zbus(property)]
859 fn receive_buffer(&self) -> zbus::Result<u64>;
860
861 #[zbus(property, name = "RemoveIPC")]
863 fn remove_ipc(&self) -> zbus::Result<bool>;
864
865 #[zbus(property)]
867 fn remove_on_stop(&self) -> zbus::Result<bool>;
868
869 #[zbus(property)]
871 fn restart_kill_signal(&self) -> zbus::Result<i32>;
872
873 #[zbus(property)]
875 fn restrict_address_families(&self) -> zbus::Result<(bool, Vec<String>)>;
876
877 #[zbus(property)]
879 fn restrict_file_systems(&self) -> zbus::Result<(bool, Vec<String>)>;
880
881 #[zbus(property)]
883 fn restrict_namespaces(&self) -> zbus::Result<u64>;
884
885 #[zbus(property)]
887 fn restrict_network_interfaces(&self) -> zbus::Result<(bool, Vec<String>)>;
888
889 #[zbus(property)]
891 fn restrict_realtime(&self) -> zbus::Result<bool>;
892
893 #[zbus(property, name = "RestrictSUIDSGID")]
895 fn restrict_suidsgid(&self) -> zbus::Result<bool>;
896
897 #[zbus(property)]
899 fn result(&self) -> zbus::Result<String>;
900
901 #[zbus(property)]
903 fn reuse_port(&self) -> zbus::Result<bool>;
904
905 #[zbus(property)]
907 fn root_directory(&self) -> zbus::Result<String>;
908
909 #[zbus(property)]
911 fn root_hash(&self) -> zbus::Result<Vec<u8>>;
912
913 #[zbus(property)]
915 fn root_hash_path(&self) -> zbus::Result<String>;
916
917 #[zbus(property)]
919 fn root_hash_signature(&self) -> zbus::Result<Vec<u8>>;
920
921 #[zbus(property)]
923 fn root_hash_signature_path(&self) -> zbus::Result<String>;
924
925 #[zbus(property)]
927 fn root_image(&self) -> zbus::Result<String>;
928
929 #[zbus(property)]
931 fn root_image_options(&self) -> zbus::Result<Vec<(String, String)>>;
932
933 #[zbus(property)]
935 fn root_verity(&self) -> zbus::Result<String>;
936
937 #[zbus(property)]
939 fn runtime_directory(&self) -> zbus::Result<Vec<String>>;
940
941 #[zbus(property)]
943 fn runtime_directory_mode(&self) -> zbus::Result<u32>;
944
945 #[zbus(property)]
947 fn runtime_directory_preserve(&self) -> zbus::Result<String>;
948
949 #[zbus(property)]
951 fn runtime_directory_symlink(&self) -> zbus::Result<Vec<DirectorySymlink>>;
952
953 #[zbus(property, name = "SELinuxContext")]
955 fn selinux_context(&self) -> zbus::Result<(bool, String)>;
956
957 #[zbus(property)]
959 fn same_process_group(&self) -> zbus::Result<bool>;
960
961 #[zbus(property)]
963 fn secure_bits(&self) -> zbus::Result<i32>;
964
965 #[zbus(property)]
967 fn send_buffer(&self) -> zbus::Result<u64>;
968
969 #[zbus(property, name = "SendSIGHUP")]
971 fn send_sighup(&self) -> zbus::Result<bool>;
972
973 #[zbus(property, name = "SendSIGKILL")]
975 fn send_sigkill(&self) -> zbus::Result<bool>;
976
977 #[zbus(property)]
979 fn set_credential(&self) -> zbus::Result<Vec<(String, Vec<u8>)>>;
980
981 #[zbus(property)]
983 fn set_credential_encrypted(&self) -> zbus::Result<Vec<(String, Vec<u8>)>>;
984
985 #[zbus(property)]
987 fn slice(&self) -> zbus::Result<String>;
988
989 #[zbus(property)]
991 fn smack_label(&self) -> zbus::Result<String>;
992
993 #[zbus(property, name = "SmackLabelIPIn")]
995 fn smack_label_ip_in(&self) -> zbus::Result<String>;
996
997 #[zbus(property, name = "SmackLabelIPOut")]
999 fn smack_label_ip_out(&self) -> zbus::Result<String>;
1000
1001 #[zbus(property)]
1003 fn smack_process_label(&self) -> zbus::Result<(bool, String)>;
1004
1005 #[zbus(property)]
1007 fn socket_bind_allow(&self) -> zbus::Result<Vec<(i32, i32, u16, u16)>>;
1008
1009 #[zbus(property)]
1011 fn socket_bind_deny(&self) -> zbus::Result<Vec<(i32, i32, u16, u16)>>;
1012
1013 #[zbus(property)]
1015 fn socket_group(&self) -> zbus::Result<String>;
1016
1017 #[zbus(property)]
1019 fn socket_mode(&self) -> zbus::Result<u32>;
1020
1021 #[zbus(property)]
1023 fn socket_protocol(&self) -> zbus::Result<i32>;
1024
1025 #[zbus(property)]
1027 fn socket_user(&self) -> zbus::Result<String>;
1028
1029 #[zbus(property)]
1031 fn standard_error(&self) -> zbus::Result<String>;
1032
1033 #[zbus(property)]
1035 fn standard_error_file_descriptor_name(&self) -> zbus::Result<String>;
1036
1037 #[zbus(property)]
1039 fn standard_input(&self) -> zbus::Result<String>;
1040
1041 #[zbus(property)]
1043 fn standard_input_data(&self) -> zbus::Result<Vec<u8>>;
1044
1045 #[zbus(property)]
1047 fn standard_input_file_descriptor_name(&self) -> zbus::Result<String>;
1048
1049 #[zbus(property)]
1051 fn standard_output(&self) -> zbus::Result<String>;
1052
1053 #[zbus(property)]
1055 fn standard_output_file_descriptor_name(&self) -> zbus::Result<String>;
1056
1057 #[zbus(property, name = "StartupAllowedCPUs")]
1059 fn startup_allowed_cpus(&self) -> zbus::Result<Vec<u8>>;
1060
1061 #[zbus(property)]
1063 fn startup_allowed_memory_nodes(&self) -> zbus::Result<Vec<u8>>;
1064
1065 #[zbus(property, name = "StartupBlockIOWeight")]
1067 fn startup_block_io_weight(&self) -> zbus::Result<u64>;
1068
1069 #[zbus(property, name = "StartupCPUShares")]
1071 fn startup_cpu_shares(&self) -> zbus::Result<u64>;
1072
1073 #[zbus(property, name = "StartupCPUWeight")]
1075 fn startup_cpu_weight(&self) -> zbus::Result<u64>;
1076
1077 #[zbus(property, name = "StartupIOWeight")]
1079 fn startup_io_weight(&self) -> zbus::Result<u64>;
1080
1081 #[zbus(property)]
1083 fn state_directory(&self) -> zbus::Result<Vec<String>>;
1084
1085 #[zbus(property)]
1087 fn state_directory_mode(&self) -> zbus::Result<u32>;
1088
1089 #[zbus(property)]
1091 fn state_directory_symlink(&self) -> zbus::Result<Vec<DirectorySymlink>>;
1092
1093 #[zbus(property)]
1095 fn supplementary_groups(&self) -> zbus::Result<Vec<String>>;
1096
1097 #[zbus(property)]
1099 fn symlinks(&self) -> zbus::Result<Vec<String>>;
1100
1101 #[zbus(property)]
1103 fn syslog_facility(&self) -> zbus::Result<i32>;
1104
1105 #[zbus(property)]
1107 fn syslog_identifier(&self) -> zbus::Result<String>;
1108
1109 #[zbus(property)]
1111 fn syslog_level(&self) -> zbus::Result<i32>;
1112
1113 #[zbus(property)]
1115 fn syslog_level_prefix(&self) -> zbus::Result<bool>;
1116
1117 #[zbus(property)]
1119 fn syslog_priority(&self) -> zbus::Result<i32>;
1120
1121 #[zbus(property)]
1123 fn system_call_architectures(&self) -> zbus::Result<Vec<String>>;
1124
1125 #[zbus(property)]
1127 fn system_call_error_number(&self) -> zbus::Result<i32>;
1128
1129 #[zbus(property)]
1131 fn system_call_filter(&self) -> zbus::Result<(bool, Vec<String>)>;
1132
1133 #[zbus(property)]
1135 fn system_call_log(&self) -> zbus::Result<(bool, Vec<String>)>;
1136
1137 #[zbus(property, name = "TCPCongestion")]
1139 fn tcp_congestion(&self) -> zbus::Result<String>;
1140
1141 #[zbus(property, name = "TTYColumns")]
1143 fn tty_columns(&self) -> zbus::Result<u16>;
1144
1145 #[zbus(property, name = "TTYPath")]
1147 fn tty_path(&self) -> zbus::Result<String>;
1148
1149 #[zbus(property, name = "TTYReset")]
1151 fn tty_reset(&self) -> zbus::Result<bool>;
1152
1153 #[zbus(property, name = "TTYRows")]
1155 fn tty_rows(&self) -> zbus::Result<u16>;
1156
1157 #[zbus(property, name = "TTYVHangup")]
1159 fn tty_vhangup(&self) -> zbus::Result<bool>;
1160
1161 #[zbus(property, name = "TTYVTDisallocate")]
1163 fn tty_vtd_isallocate(&self) -> zbus::Result<bool>;
1164
1165 #[zbus(property)]
1167 fn tasks_accounting(&self) -> zbus::Result<bool>;
1168
1169 #[zbus(property)]
1171 fn tasks_current(&self) -> zbus::Result<u64>;
1172
1173 #[zbus(property)]
1175 fn tasks_max(&self) -> zbus::Result<u64>;
1176
1177 #[zbus(property)]
1179 fn temporary_file_system(&self) -> zbus::Result<Vec<(String, String)>>;
1180
1181 #[zbus(property, name = "TimeoutCleanUSec")]
1183 fn timeout_clean_usec(&self) -> zbus::Result<u64>;
1184
1185 #[zbus(property, name = "TimeoutUSec")]
1187 fn timeout_usec(&self) -> zbus::Result<u64>;
1188
1189 #[zbus(property, name = "TimerSlackNSec")]
1191 fn timer_slack_nsec(&self) -> zbus::Result<u64>;
1192
1193 #[zbus(property)]
1195 fn timestamping(&self) -> zbus::Result<String>;
1196
1197 #[zbus(property)]
1199 fn transparent(&self) -> zbus::Result<bool>;
1200
1201 #[zbus(property)]
1203 fn trigger_limit_burst(&self) -> zbus::Result<u32>;
1204
1205 #[zbus(property, name = "TriggerLimitIntervalUSec")]
1207 fn trigger_limit_interval_usec(&self) -> zbus::Result<u64>;
1208
1209 #[zbus(property, name = "UID")]
1211 fn uid(&self) -> zbus::Result<u32>;
1212
1213 #[zbus(property, name = "UMask")]
1215 fn umask(&self) -> zbus::Result<u32>;
1216
1217 #[zbus(property)]
1219 fn unset_environment(&self) -> zbus::Result<Vec<String>>;
1220
1221 #[zbus(property)]
1223 fn user(&self) -> zbus::Result<String>;
1224
1225 #[zbus(property)]
1227 fn utmp_identifier(&self) -> zbus::Result<String>;
1228
1229 #[zbus(property)]
1231 fn utmp_mode(&self) -> zbus::Result<String>;
1232
1233 #[zbus(property)]
1235 fn watchdog_signal(&self) -> zbus::Result<i32>;
1236
1237 #[zbus(property)]
1239 fn working_directory(&self) -> zbus::Result<String>;
1240
1241 #[zbus(property)]
1243 fn writable(&self) -> zbus::Result<bool>;
1244}