Skip to content

Conversation

Nestastnikos
Copy link

No description provided.

janokacer and others added 30 commits January 7, 2016 19:27
Programator2 and others added 28 commits June 29, 2019 13:17
This caused warnings in objtool, since frame pointers were not pushed
onto the stack. It also caused BUGs in stack frame unwinder, since the
frame pointers were missing.
The ipc_associate access handler returned value immediately from one code path,
without re-locking an IPC object unlocked running this handler.
If an authorisation server is connected, the kobj related
to a process can be validated immediately in medusa_l1_task_alloc();
there is no reason wait for validation to first access decision.
1) Remove unsupported LSM hooks from sources.
2) Comment out unused LSM hooks.
3) During compilaton process print warnings for those Medusa LSM hoooks,
   which have to be revisited / rewrited / checked ...
   For this purposes these functions are disconnected from kernel IPC hooks,
   which is done via medusa_l1_hooks table - medusa hook functions are removed
   from corresponding kernel LSM elements in this table. But medusa hooks are
   defined in source code, which leads during compilation process to warning
   "defined but not used" [-Wunused-function].
Change following acctypes (IPC subsystem) from TRIGGERED_AT_SUBJECT to
TRIGGERED_AT_OBJECT:
    1) acctype ipc associate
    2) acctype ipc_ctl
    3) acctype ipc msgrcv
    4) acctype ipc msgsnd
    5) acctype ipc permission
    6) acctype ipc semop
    7) acctype ipc shhmat
1) It is not necessary split Medusa initialisation into two phases yet.
2) Hook medusa_l0_task_free() was called within an interrupt, and mutex_lock()
   in this function leaded to deadlock.
3) For future reuse, sources of Layer-0 are left in repository.
- remove redundant capabilities
- remove unused bprm hooks
Remove capabilities hooks from l1/medusa.c
Remove the killpriv capability + provide better message system
… in Linux Kernel

Add unit tests for medusa model and vs_model.h
Move vsmodel implementation into its own header file
Refactoring of model.h -> med_model.h
@Nestastnikos Nestastnikos deleted the bitmap_merge branch March 30, 2020 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants