summaryrefslogtreecommitdiff
path: root/src/dev/termdev/ptytermdev/loginptytermdev/sysloginptytermdev.cil
blob: f7853ba50d2d470fdb85f0885cb4f7b1b9ffc555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;; SPDX-FileCopyrightText: © 2024 Dominick Grift <dominick.grift@defensec.nl>
;; SPDX-License-Identifier: Unlicense

(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)))