forked from aluzzardi/pam_usb
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #201: Add SELinux profile for login (fixes TTY and GDM on F40) * #201: Move profile to distri specific folder
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
module login 1.0; | ||
|
||
require { | ||
type local_login_t; | ||
type user_home_t; | ||
type dosfs_t; | ||
class file { create getattr open read setattr write }; | ||
class dir { add_name getattr search write }; | ||
} | ||
|
||
#============= local_login_t ============== | ||
|
||
#!!!! This avc is allowed in the current policy | ||
allow local_login_t dosfs_t:dir { add_name getattr search write }; | ||
|
||
#!!!! This avc is allowed in the current policy | ||
allow local_login_t dosfs_t:file { create getattr open read setattr write }; | ||
|
||
#!!!! This avc is allowed in the current policy | ||
allow local_login_t user_home_t:dir { add_name write }; | ||
|
||
#!!!! This avc is allowed in the current policy | ||
allow local_login_t user_home_t:file { create open read write }; |