From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id s4NFlwbE005478 for ; Fri, 23 May 2014 11:47:58 -0400 Received: by mail-pa0-f46.google.com with SMTP id kq14so4265154pab.19 for ; Fri, 23 May 2014 08:47:46 -0700 (PDT) Received: from [192.168.1.2] ([117.201.86.27]) by mx.google.com with ESMTPSA id el14sm15811776pac.31.2014.05.23.08.47.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 08:47:45 -0700 (PDT) Message-ID: <537F6D02.2010801@gmail.com> Date: Fri, 23 May 2014 21:15:06 +0530 From: dE MIME-Version: 1.0 To: selinux@tycho.nsa.gov Subject: Re: Significance of SELinux user and roles on objects. References: <537AE191.7070403@gmail.com> <537B5BD3.4090507@tresys.com> <537D9F47.7020704@gmail.com> <1400743958.10370.0.camel@x220.localdomain> <537F5039.5070806@tycho.nsa.gov> In-Reply-To: <537F5039.5070806@tycho.nsa.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: On 05/23/14 19:12, Stephen Smalley wrote: > On 05/22/2014 03:32 AM, Dominick Grift wrote: >> On Thu, 2014-05-22 at 12:25 +0530, dE wrote: >>> On 05/20/14 19:12, Christopher J. PeBenito wrote: >>>> The kernel will create files with object_r regardless >>> Is this defined in the policy or is hard coded in the kernel? >> Hard coded into the kernel > Unless the policy specifies to default from source or target for the > file class... > > So you can define the default object in the policy file as per the object class.