Skip to contentSkip to conversation

modutils needs to talk to terminal

DISCUSSION Christopher J. PeBenito 2 participants 4 messages Mar 9, 2007 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

policy/modules/system/modutils.te line 123

Quoted 9 lines · On Thu, 2007-03-08 at 09:38 -0500, [email protected] wrote:
policy/modules/system/modutils.te +1 -0
@@ -118,7 +118,8 @@
 }
 
 ifdef(`targeted_policy',`
+	term_use_unallocated_ttys(insmod_t)
 	unconfined_domain(insmod_t)
 ')

With the recent fixes to the terminal module, making ttys and ptys device nodes, this shouldn't be needed.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 7 lines · Christopher J. PeBenito
Quoted 5 lines · On Thu, 2007-03-08 at 09:38 -0500, [email protected] wrote:
policy/modules/system/modutils.te +0 -0
@@ -118,7 +118,8 @@
 }
 
Quoted 10 lines

policy/modules/system/modutils.te line 124

Quoted 5 lines
policy/modules/system/modutils.te +1 -0
 ifdef(`targeted_policy',`
+	term_use_unallocated_ttys(insmod_t)
 	unconfined_domain(insmod_t)
 ')
 

With the recent fixes to the terminal module, making ttys and ptys device nodes, this shouldn't be needed.

So are you saying all term_use_unallocated_ttys can go away?

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#3 lore raw
Quoted 18 lines · Daniel J Walsh
Quoted 7 lines · Christopher J. PeBenito
Quoted 5 lines · On Thu, 2007-03-08 at 09:38 -0500, [email protected] wrote:
policy/modules/system/modutils.te +0 -0
@@ -118,7 +118,8 @@
 }
 
Quoted 10 lines

policy/modules/system/modutils.te line 124

Quoted 5 lines
policy/modules/system/modutils.te +1 -0
 ifdef(`targeted_policy',`
+	term_use_unallocated_ttys(insmod_t)
 	unconfined_domain(insmod_t)
 ')
 

With the recent fixes to the terminal module, making ttys and ptys device nodes, this shouldn't be needed.

Quoted 1 line

So are you saying all term_use_unallocated_ttys can go away?

I'm only saying its not needed in this case, since insmod is unconfined.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#4 lore raw
Quoted 23 lines · Christopher J. PeBenito
Quoted 21 lines · Daniel J Walsh
Quoted 19 lines · Christopher J. PeBenito

policy/modules/system/modutils.te line 125

Quoted 11 lines · On Thu, 2007-03-08 at 09:38 -0500, [email protected] wrote:
policy/modules/system/modutils.te +1 -0
@@ -118,7 +118,8 @@
 }
 
 ifdef(`targeted_policy',`
+	term_use_unallocated_ttys(insmod_t)
 	unconfined_domain(insmod_t)
 ')
 
 

With the recent fixes to the terminal module, making ttys and ptys device nodes, this shouldn't be needed.

Quoted 6 lines
Quoted 2 lines

So are you saying all term_use_unallocated_ttys can go away?

I'm only saying its not needed in this case, since insmod is unconfined.

Ok, that is something I want to remove also.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.