From 6be4e656cbf575dbcba95de4e99183586aa88ffe Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 22 Oct 2022 18:39:57 +0300 Subject: create impl and CAP_PROC checking --- include/apos/tcb.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include/apos/tcb.h') diff --git a/include/apos/tcb.h b/include/apos/tcb.h index a31e308..b92cd10 100644 --- a/include/apos/tcb.h +++ b/include/apos/tcb.h @@ -268,10 +268,17 @@ struct tcb *cur_tcb(); /** * Get currently executing process. * - * @return Current process \ref tcb. + * @return Effective process \ref tcb. */ struct tcb *cur_proc(); +/** + * Get currently executing process. + * + * @return Effective process \ref tcb. + */ +struct tcb *eff_proc(); + /** * Set \c t as current \ref tcb. * -- cgit v1.3