All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: Latest bluetooth requires net_bind_service
Date: Fri, 23 Feb 2007 16:47:30 -0500	[thread overview]
Message-ID: <45DF60F2.7040507@redhat.com> (raw)
In-Reply-To: <1172256975.15371.80.camel@sgc.columbia.tresys.com>

Christopher J. PeBenito wrote:
> On Tue, 2007-02-20 at 12:34 -0500, Daniel J Walsh wrote:
>   
>> Also search inotify
>>     
>
> I don't see any corenet tcp or udp binding rules, so the capability
> seems out of place.
>   
This was a kernel change.  It has nothing to do with UDP/TCP networking, 
but net_bind_service is now required for hidd to listen.
>   
>> --- nsaserefpolicy/policy/modules/services/bluetooth.te 2007-01-02
>> 12:57:43.000000000 -0500
>> +++
>> serefpolicy-2.5.4/policy/modules/services/bluetooth.te      2007-02-19
>> 16:01:52.000000000 -0500
>> @@ -41,7 +41,7 @@
>>  # Bluetooth services local policy
>>  #
>>  
>> -allow bluetooth_t self:capability { net_admin net_raw sys_tty_config
>> ipc_lock };
>> +allow bluetooth_t self:capability { net_bind_service net_admin
>> net_raw sys_tty_config ipc_lock };
>>  dontaudit bluetooth_t self:capability sys_tty_config;
>>  allow bluetooth_t self:process { getsched signal_perms };
>>  allow bluetooth_t self:fifo_file rw_fifo_file_perms;
>> @@ -98,6 +98,7 @@
>>  
>>  fs_getattr_all_fs(bluetooth_t)
>>  fs_search_auto_mountpoints(bluetooth_t)
>> +fs_search_inotifyfs(bluetooth_t)
>>  
>>  term_dontaudit_use_console(bluetooth_t)
>>  #Handle bluetooth serial devices
>>
>>     


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2007-02-23 21:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 17:34 Latest bluetooth requires net_bind_service Daniel J Walsh
2007-02-23 18:56 ` Christopher J. PeBenito
2007-02-23 21:47   ` Daniel J Walsh [this message]
2007-02-26 16:20 ` Christopher J. PeBenito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45DF60F2.7040507@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=cpebenito@tresys.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.