blob: 598a9254bc0023393dde8811057063be72bcb041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
;; SPDX-FileCopyrightText: © 2023 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense
(in dev.unconfined
(call .sys.loginptytermdev_all_type_change_ptytermdev (typeattr)))
(in ptytermdev.unconfined
(call .sys.loginptytermdev_all_type_change_ptytermdev (typeattr)))
(in sys
(macro devpts_fs_type_transition_ptytermdev ((type ARG1))
(call .devpts.fs_type_transition
(ARG1 ptytermdev chr_file "*")))
(macro loginptytermdev_all_type_change_ptytermdev ((type ARG1))
(call .loginptytermdev.all_type_change
(ARG1 ptytermdev)))
;; support for unknown login services
(blockinherit .loginptytermdev.template)
(call devpts_fs_type_transition_ptytermdev (subj)))
(in termdev.unconfined
(call .sys.loginptytermdev_all_type_change_ptytermdev (typeattr)))
|