linux/fs/ext3/xattr_security.c
<<
>>
Prefs
   1/*
   2 * linux/fs/ext3/xattr_security.c
   3 * Handler for storing security labels as extended attributes.
   4 */
   5
   6#include <linux/security.h>
   7#include "ext3.h"
   8#include "xattr.h"
   9
  10static size_t
  11ext3_xattr_security_list(struct dentry *dentry, char *list, size_t list_size,
  12                         const char *name, size_t name_len, int type)
  13{
  14        const size_t prefix_len = /a> = <4me="L>

,
  14        const name,  =   10inux/sec1urity.h" class="fref">l1inux/17id="L10" class="line" name="L10">  10dentry *
de=size_t" class=ist" class="sref">list, ,
(smemcpu11"> de=dentry" class="sref">dentry *pre="+code=prefix_len" class="sref">pre href="+code=dentry" "L14">  14        const ,
(smemcpu11"> de=dentry" class="sref">dentry *  14        const   12      ame" class="sref">name,  = dentry *  14        const name, 
 11ity">'\0'ext3/xa/a> =    1}a> =  = }a> = /a> = <4m2="L>
2mment"> */
   9 */
l2inux/27f">size_t
  11ext3_xattr_security_list(struct  */
,
  12                         const char *listsize_t name_le2 href="f2s/ext3/xattr.h" class="2fref"29ef">type)
if (de=dentry" clas 11cmps="sref">list de=dentry" clas"L12" class="line" name="L12">tes.
 11ity">&line"ot;
name_le3static <3 href="+code=size_t" cl3ss="s31ist_size,
   1  Prefshref=d attribut11" class="" met.c#L11" id="L11" class="" m11"> sref">ext3_xattr_security_list(struct    sref">ext3_xattr_inxatrity_list(st_inxat="L12">  12      EXT3_len" cINDEXclass="sr" class="line" EXT3_len" cINDEXclass="sr="L12"> */
 * linux/fs/ext3/xass="33ist_size,
,
  12      buffer" class="line" buffer="L12">  12          s="sref">list}a> = /a> = <4m3="L>
3mment"> */
   9 */
l3inux/37f">size_t
  11ext3_xattr_security_list(struct  */
,
  12                         const char *listlistsize_t name_le3 href="f3s/ext3/xattr.h" class="3fref"39ef">type)
if (de=dentry" clas 11cmps="sref">list de=dentry" clas"L12" class="line" name="L12">tes.
 11ity">&line"ot;
name_le4static <4 href="+code=size_t" cl4ss="s41ist_size,
   1  Prefshref=d attribut11" class="s met.c#L11" id="L11" class="lim11"> sref">ext3_xattr_security_list(struct    sref">ext3_xattr_inxatrity_list(st_inxat="L12">  12      EXT3_len" cINDEXclass="sr" class="line" EXT3_len" cINDEXclass="sr="L12"> */
 * linux/fs/ext3/4ass="43ist_size,
,
  12      post"" class="line" post"="L12">  12          s="sref">listlist = }a> = /a> = <4m4="L>
4mment"> */
list  11(sinxat="L1ref/xatt 11(sef="f="L1curity.c#L12" id=ef="fsarraurity_list(sef="fsarrau="L12"> */
l4inux/47ist_size,
listname_le4type)
f/xatt 11(sef="f="L1curity.c#L12" id=ef="frity_list(sef="f="L1/a> = rity.c#L12" id=hxt3/x               cohxt3/x  ="L1curity.c#L12" id=hxt3/x             cohxt3/x="+code=size_t" class=fscinfos="sref">list = (s1rf="+code0/a> =    1 */
 * linux/fs/ext3/5ass="53ist_sizetr_s sref">ext3_xattef="frity_list(sef="f="L1cde=size_t" class=ef="fsarraurity_list(sef="fsarrau="L1; href=d attributef="frity_list(sef="f="L1->   sref">ext3_xatt"L12" class="line" name="L1 !de=size_t" class=NULL" class="line" NULL="L1; href=d attributef="frity_list(sef="f="L1++) type)
(s1rf="+codehref=d attribut11" class="s m_hxt3/x             co11" class="s m_hxt3/x11"> sref">ext3_xatthxt3/x             cohxt3/x="+c+"e=size_t" classinxatrity_list(sinxat="L1rype)
   4 */
,
,
,
(sef="f="L1->   sref">ext3_xatt"L12" class="line" name="L1+"e=size_t" classef="frity_list(sef="f="L1->   sref">ext3_xattpost"" class="line" post"="L12"> */
l5inux/57ist_size,
,
,
(sef="f="L1->   sref">ext3_xattpost"="v2.6.18.4"
	 46.3post"="v2="L1+"0)/a> = ,
(s1rf="+co/a>
 0"+code=name_len" class="sref">name_le5 href="f5s/ext3/xattr.h" class="5fref"59ist_size,
 = }a> =  =    1}a> =  * linux/fs/ext3/6ass="63ment"> */
 */
   4size_t
list sref">ext3_xatthxt3/x               cohxt3/x  ="L1curity.c#L12" id=hxt3/x             cohxt3/x="+c,t 11(sinxat="L1re 11(sdif="L12"> */
,
(sqs"f="L1curity.c#L12" id=qs"frity_list(sqs"f="L1"+code=name_len" class="sref">name_le6inux/sec6urity.h" class="fref">l6inux/67ef">type)
  Prefshref=d attributline" naminxatfinits/ext3/xas="sref">list sref">ext3_xattinxatrity_list(sinxat="L1rerity.c#L12" id=difrity_list(sdif="L12>(sqs"f="L12"> */
,
list2> = }a> =  */
   1f/xatt 11(sef="f_hxt3/xfar *(s11" class="line" namhxt3/xf="+codetype)
 * linux/fs/ext3/7ass="73ist_size.a href="+code=nst (sst pre="+code=prefix_len" class="sref">pre hrefype)
dentry *fype)
   4   odehref=d attribut11" class="s attr_se" met.c#L11" id="L11" class="line" nam" m11">fype)
.a href="+code=ns met.c#L11" id="Ls m11">   odehref=d attribut11" class="s attr_ses met.c#L11" id="L11" class="line" nams m11">fype)
liinux/77ef">}/a> = 
/ext3/efootxfr> The original LXR software by the > = LXR , an c experihrefal vers" by > = . tom"> /ext3/esubfootxfr> xf.ass=".no kit3/y hosted by > = Redpill Lsssto AS11">, stovider of Lssux