linux/fs/ext2/acl.c
<<
v2.6.12 on> 1f="../linux+v3 tion vaimg src="../.static/gfx/right.png" alt=">>">tialue="v2tiaue=" class="lxr_search">tion<" ac <="+search" method="post" onsubmit="return do_search(this);">tion vainput typn> hidden" namn> navtarget" ption> ">tion vainput typn> text" namn> search" id> search">tion vabutt submit">Search alue="v2tiaue=" class="lxr_p 1fs" > v2.> 1f="+p 1fs?return=fs/ext2/acl.c"6.12 ononclick="return ajax_p 1fs();">tion vP 1fs2.6.12a>tialue="v212 on.12divv212 on.1" ac <="ajax+*" method="post" onsubmit="return false;">tiainput typn> hidden" namn> ajax_lookup" id> ajax_lookup" ption> ">t12 on.12" >t12 on.1div class="headingbott search_results" class="search_results"2.6v212 on.12divv2 1div id> content">2 1div id> file_contents"

3e/ef/11823590edc1bf07c48099afe77c2931ebd6_3/0" <2.> 1f="fs/ext2/acl.c#L1" id> L1" class="line" namn> L1">on.112a>aue=" class="comment">/*alue="v2<2.> 1f="fs/ext2/acl.c#L2" id> L2" class="line" namn> L2">on.212a>aue=" class="comment"> * linux/fs/ext2/acl.calue="v2<2.> 1f="fs/ext2/acl.c#L3" id> L3" class="line" namn> L3">on.312a>aue=" class="comment"> *alue="v2<2.> 1f="fs/ext2/acl.c#L4" id> L4" class="line" namn> L4">on.412a>aue=" class="comment"> * Copyright (C) 2001-2003 Andreas Gruenbacher, <agruen@suse.de>alue="v2<2.> 1f="fs/ext2/acl.c#L5" id> L5" class="line" namn> L5">on.512a>aue=" class="comment"> */alue="v2<2.> 1f="fs/ext2/acl.c#L6" id> L6" class="line" namn> L6">on.612a>t<2.> 1f="fs/ext2/acl.c#L7" id> L7" class="line" namn> L7">on.712a>#include <<2.> 1f="include/linux/capability.h" class="f 1f">linux/capability.h12a>>t<2.> 1f="fs/ext2/acl.c#L8" id> L8" class="line" namn> L8">on.812a>#include <<2.> 1f="include/linux/init.h" class="f 1f">linux/init.h12a>>t<2.> 1f="fs/ext2/acl.c#L9" id> L9" class="line" namn> L9">on.912a>#include <<2.> 1f="include/linux/sched.h" class="f 1f">linux/sched.h12a>>t<2.> 1f="fs/ext2/acl.c#L10" id> L10" class="line" namn> L10">on2.6.a>#include <<2.> 1f="include/linux/slab.h" class="f 1f">linux/slab.h12a>>t<2.> 1f="fs/ext2/acl.c#L11" id> L11" class="line" namn> L11">on116.a>#include <<2.> 1f="include/linux/fs.h" class="f 1f">linux/fs.h12a>>t<2.> 1f="fs/ext2/acl.c#L12" id> L12" class="line" namn> L12">on126.a>#include "<2.> 1f="fs/ext2/ext2.h" class="f 1f">ext2.h12a>"t<2.> 1f="fs/ext2/acl.c#L13" id> L13" class="line" namn> L13">on136.a>#include "<2.> 1f="fs/ext2/xattr.h" class="f 1f">xattr.h12a>"t<2.> 1f="fs/ext2/acl.c#L14" id> L14" class="line" namn> L14">on146.a>#include "<2.> 1f="fs/ext2/acl.h" class="f 1f">acl.h12a>"t<2.> 1f="fs/ext2/acl.c#L15" id> L15" class="line" namn> L15">on1512a>t<2.> 1f="fs/ext2/acl.c#L16" id> L16" class="line" namn> L16">on1612a>aue=" class="comment">/*alue="v2<2.> 1f="fs/ext2/acl.c#L17" id> L17" class="line" namn> L17">on1712a>aue=" class="comment"> * Convert from filesystem to in-memory rep 1senta <.alue="v2<2.> 1f="fs/ext2/acl.c#L18" id> L18" class="line" namn> L18">on1812a>aue=" class="comment"> */alue="v2<2.> 1f="fs/ext2/acl.c#L19" id> L19" class="line" namn> L19">on1912a>static struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *2<2.> 1f="fs/ext2/acl.c#L20" id> L20" class="line" namn> L20">on2.6.a>v2.> 1f="+code=ext2_acl_from_disk" class="s 1f">ext2_acl_from_disk6.a>(const void *a2.> 1f="+code=ption" class="s 1f">ption6.a>, v2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=size" class="s 1f">size12a>)2<2.> 1f="fs/ext2/acl.c#L21" id> L21" class="line" namn> L21">on216.a>{2<2.> 1f="fs/ext2/acl.c#L22" id> L22" class="line" namn> L22">on226.a> const char *a2.> 1f="+code=end" class="s 1f">end6.a> = (char *)a2.> 1f="+code=ption" class="s 1f">ption6.a> + v2.> 1f="+code=size" class="s 1f">size12a>;t<2.> 1f="fs/ext2/acl.c#L23" id> L23" class="line" namn> L23">on236.a> int v2.> 1f="+code=n" class="s 1f">n6.a>, v2.> 1f="+code=count" class="s 1f">count12a>;t<2.> 1f="fs/ext2/acl.c#L24" id> L24" class="line" namn> L24">on246.a> struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *v2.> 1f="+code=acl" class="s 1f">acl12a>;t<2.> 1f="fs/ext2/acl.c#L25" id> L25" class="line" namn> L25">on2512a>t<2.> 1f="fs/ext2/acl.c#L26" id> L26" class="line" namn> L26">on266.a> if (!a2.> 1f="+code=ption" class="s 1f">ption6.a>)2<2.> 1f="fs/ext2/acl.c#L27" id> L27" class="line" namn> L27">on276.a> return a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L28" id> L28" class="line" namn> L28">on286.a> if (v2.> 1f="+code=size" class="s 1f">size12a> < sizeof(v2.> 1f="+code=ext2_acl_header" class="s 1f">ext2_acl_header6.a>))2<2.> 1f="fs/ext2/acl.c#L29" id> L29" class="line" namn> L29">on296.a> return a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(-a2.> 1f="+code=EINVAL" class="s 1f">EINVAL6.a>);t<2.> 1f="fs/ext2/acl.c#L30" id> L30" class="line" namn> L30">on306.a> if (((v2.> 1f="+code=ext2_acl_header" class="s 1f">ext2_acl_header6.a> *)a2.> 1f="+code=ption" class="s 1f">ption6.a>)->a2.> 1f="+code=a_vers <" class="s 1f">a_vers <6.a> !=t<2.> 1f="fs/ext2/acl.c#L31" id> L31" class="line" namn> L31">on316.a> v2.> 1f="+code=cpu_to_le32" class="s 1f">cpu_to_le326.a>(a2.> 1f="+code=EXT2_ACL_VERSION" class="s 1f">EXT2_ACL_VERSION6.a>))2<2.> 1f="fs/ext2/acl.c#L32" id> L32" class="line" namn> L32">on326.a> return a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(-a2.> 1f="+code=EINVAL" class="s 1f">EINVAL6.a>);t<2.> 1f="fs/ext2/acl.c#L33" id> L33" class="line" namn> L33">on336.a> a2.> 1f="+code=ption" class="s 1f">ption6.a> = (char *)a2.> 1f="+code=ption" class="s 1f">ption6.a> + sizeof(v2.> 1f="+code=ext2_acl_header" class="s 1f">ext2_acl_header6.a>);t<2.> 1f="fs/ext2/acl.c#L34" id> L34" class="line" namn> L34">on346.a> a2.> 1f="+code=count" class="s 1f">count12a> = v2.> 1f="+code=ext2_acl_count" class="s 1f">ext2_acl_count6.a>(a2.> 1f="+code=size" class="s 1f">size12a>);t<2.> 1f="fs/ext2/acl.c#L35" id> L35" class="line" namn> L35">on356.a> if (v2.> 1f="+code=count" class="s 1f">count12a> < 0)2<2.> 1f="fs/ext2/acl.c#L36" id> L36" class="line" namn> L36">on366.a> return a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(-a2.> 1f="+code=EINVAL" class="s 1f">EINVAL6.a>);t<2.> 1f="fs/ext2/acl.c#L37" id> L37" class="line" namn> L37">on376.a> if (v2.> 1f="+code=count" class="s 1f">count12a> == 0)2<2.> 1f="fs/ext2/acl.c#L38" id> L38" class="line" namn> L38">on386.a> return a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L39" id> L39" class="line" namn> L39">on396.a> a2.> 1f="+code=acl" class="s 1f">acl12a> = v2.> 1f="+code=posix_acl_alloc" class="s 1f">posix_acl_alloc6.a>(a2.> 1f="+code=count" class="s 1f">count12a>, v2.> 1f="+code=GFP_KERNEL" class="s 1f">GFP_KERNEL6.a>);t<2.> 1f="fs/ext2/acl.c#L40" id> L40" class="line" namn> L40">on406.a> if (!a2.> 1f="+code=acl" class="s 1f">acl12a>)2<2.> 1f="fs/ext2/acl.c#L41" id> L41" class="line" namn> L41">on416.a> return a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(-a2.> 1f="+code=ENOMEM" class="s 1f">ENOMEM6.a>);t<2.> 1f="fs/ext2/acl.c#L42" id> L42" class="line" namn> L42">on426.a> for (v2.> 1f="+code=n" class="s 1f">n6.a>=0; v2.> 1f="+code=n" class="s 1f">n6.a> < v2.> 1f="+code=count" class="s 1f">count12a>; v2.> 1f="+code=n" class="s 1f">n6.a>++) {2<2.> 1f="fs/ext2/acl.c#L43" id> L43" class="line" namn> L43">on436.a> v2.> 1f="+code=ext2_acl_entry" class="s 1f">ext2_acl_entry12a> *v2.> 1f="+code=entry" class="s 1f">entry12a> =t<2.> 1f="fs/ext2/acl.c#L44" id> L44" class="line" namn> L44">on446.a> (v2.> 1f="+code=ext2_acl_entry" class="s 1f">ext2_acl_entry12a> *)a2.> 1f="+code=ption" class="s 1f">ption6.a>;t<2.> 1f="fs/ext2/acl.c#L45" id> L45" class="line" namn> L45">on456.a> if ((char *)a2.> 1f="+code=ption" class="s 1f">ption6.a> + sizeof(v2.> 1f="+code=ext2_acl_entry_short" class="s 1f">ext2_acl_entry_short6.a>) > v2.> 1f="+code=end" class="s 1f">end6.a>)2<2.> 1f="fs/ext2/acl.c#L46" id> L46" class="line" namn> L46">on466.a> goto v2.> 1f="+code=fail" class="s 1f">fail6.a>;t<2.> 1f="fs/ext2/acl.c#L47" id> L47" class="line" namn> L47">on476.a> a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_tag" class="s 1f">e_tag6.a> = v2.> 1f="+code=le16_to_cpu" class="s 1f">le16_to_cpu6.a>(a2.> 1f="+code=entry" class="s 1f">entry12a>->a2.> 1f="+code=e_tag" class="s 1f">e_tag6.a>);t<2.> 1f="fs/ext2/acl.c#L48" id> L48" class="line" namn> L48">on486.a> a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_perm" class="s 1f">e_perm12a> = v2.> 1f="+code=le16_to_cpu" class="s 1f">le16_to_cpu6.a>(a2.> 1f="+code=entry" class="s 1f">entry12a>->a2.> 1f="+code=e_perm" class="s 1f">e_perm12a>);t<2.> 1f="fs/ext2/acl.c#L49" id> L49" class="line" namn> L49">on496.a> switch(a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_tag" class="s 1f">e_tag6.a>) {2<2.> 1f="fs/ext2/acl.c#L50" id> L50" class="line" namn> L50">on506.a> case v2.> 1f="+code=ACL_USER_OBJ" class="s 1f">ACL_USER_OBJ6.a>:2<2.> 1f="fs/ext2/acl.c#L51" id> L51" class="line" namn> L51">on516.a> case v2.> 1f="+code=ACL_GROUP_OBJ" class="s 1f">ACL_GROUP_OBJ6.a>:2<2.> 1f="fs/ext2/acl.c#L52" id> L52" class="line" namn> L52">on526.a> case v2.> 1f="+code=ACL_MASK" class="s 1f">ACL_MASK6.a>:2<2.> 1f="fs/ext2/acl.c#L53" id> L53" class="line" namn> L53">on536.a> case v2.> 1f="+code=ACL_OTHER" class="s 1f">ACL_OTHER6.a>:2<2.> 1f="fs/ext2/acl.c#L54" id> L54" class="line" namn> L54">on546.a> a2.> 1f="+code=ption" class="s 1f">ption6.a> = (char *)a2.> 1f="+code=ption" class="s 1f">ption6.a> +2<2.> 1f="fs/ext2/acl.c#L55" id> L55" class="line" namn> L55">on556.a> sizeof(v2.> 1f="+code=ext2_acl_entry_short" class="s 1f">ext2_acl_entry_short6.a>);t<2.> 1f="fs/ext2/acl.c#L56" id> L56" class="line" namn> L56">on566.a> a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_id" class="s 1f">e_id12a> = v2.> 1f="+code=ACL_UNDEFINED_ID" class="s 1f">ACL_UNDEFINED_ID6.a>;t<2.> 1f="fs/ext2/acl.c#L57" id> L57" class="line" namn> L57">on576.a> break;t<2.> 1f="fs/ext2/acl.c#L58" id> L58" class="line" namn> L58">on5812a>t<2.> 1f="fs/ext2/acl.c#L59" id> L59" class="line" namn> L59">on596.a> case v2.> 1f="+code=ACL_USER" class="s 1f">ACL_USER6.a>:2<2.> 1f="fs/ext2/acl.c#L60" id> L60" class="line" namn> L60">on606.a> case v2.> 1f="+code=ACL_GROUP" class="s 1f">ACL_GROUP6.a>:2<2.> 1f="fs/ext2/acl.c#L61" id> L61" class="line" namn> L61">on616.a> a2.> 1f="+code=ption" class="s 1f">ption6.a> = (char *)a2.> 1f="+code=ption" class="s 1f">ption6.a> + sizeof(v2.> 1f="+code=ext2_acl_entry" class="s 1f">ext2_acl_entry12a>);t<2.> 1f="fs/ext2/acl.c#L62" id> L62" class="line" namn> L62">on626.a> if ((char *)a2.> 1f="+code=ption" class="s 1f">ption6.a> > v2.> 1f="+code=end" class="s 1f">end6.a>)2<2.> 1f="fs/ext2/acl.c#L63" id> L63" class="line" namn> L63">on636.a> goto v2.> 1f="+code=fail" class="s 1f">fail6.a>;t<2.> 1f="fs/ext2/acl.c#L64" id> L64" class="line" namn> L64">on646.a> a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_id" class="s 1f">e_id12a> =t<2.> 1f="fs/ext2/acl.c#L65" id> L65" class="line" namn> L65">on656.a> v2.> 1f="+code=le32_to_cpu" class="s 1f">le32_to_cpu6.a>(a2.> 1f="+code=entry" class="s 1f">entry12a>->a2.> 1f="+code=e_id" class="s 1f">e_id12a>);t<2.> 1f="fs/ext2/acl.c#L66" id> L66" class="line" namn> L66">on666.a> break;t<2.> 1f="fs/ext2/acl.c#L67" id> L67" class="line" namn> L67">on6712a>t<2.> 1f="fs/ext2/acl.c#L68" id> L68" class="line" namn> L68">on686.a> default:2<2.> 1f="fs/ext2/acl.c#L69" id> L69" class="line" namn> L69">on696.a> goto v2.> 1f="+code=fail" class="s 1f">fail6.a>;t<2.> 1f="fs/ext2/acl.c#L70" id> L70" class="line" namn> L70">on706.a> }t<2.> 1f="fs/ext2/acl.c#L71" id> L71" class="line" namn> L71">on716.a> }t<2.> 1f="fs/ext2/acl.c#L72" id> L72" class="line" namn> L72">on726.a> if (v2.> 1f="+code=ption" class="s 1f">ption6.a> != v2.> 1f="+code=end" class="s 1f">end6.a>)2<2.> 1f="fs/ext2/acl.c#L73" id> L73" class="line" namn> L73">on736.a> goto v2.> 1f="+code=fail" class="s 1f">fail6.a>;t<2.> 1f="fs/ext2/acl.c#L74" id> L74" class="line" namn> L74">on746.a> return a2.> 1f="+code=acl" class="s 1f">acl12a>;t<2.> 1f="fs/ext2/acl.c#L75" id> L75" class="line" namn> L75">on7512a>t<2.> 1f="fs/ext2/acl.c#L76" id> L76" class="line" namn> L76">on7612a>a2.> 1f="+code=fail" class="s 1f">fail6.a>:2<2.> 1f="fs/ext2/acl.c#L77" id> L77" class="line" namn> L77">on776.a> v2.> 1f="+code=posix_acl_release" class="s 1f">posix_acl_release6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L78" id> L78" class="line" namn> L78">on786.a> return a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(-a2.> 1f="+code=EINVAL" class="s 1f">EINVAL6.a>);t<2.> 1f="fs/ext2/acl.c#L79" id> L79" class="line" namn> L79">on796.a>}t<2.> 1f="fs/ext2/acl.c#L80" id> L80" class="line" namn> L80">on8012a>t<2.> 1f="fs/ext2/acl.c#L81" id> L81" class="line" namn> L81">on8112a>aue=" class="comment">/*alue="v2<2.> 1f="fs/ext2/acl.c#L82" id> L82" class="line" namn> L82">on8212a>aue=" class="comment"> * Convert from in-memory to filesystem rep 1senta <.alue="v2<2.> 1f="fs/ext2/acl.c#L83" id> L83" class="line" namn> L83">on8312a>aue=" class="comment"> */alue="v2<2.> 1f="fs/ext2/acl.c#L84" id> L84" class="line" namn> L84">on846.a>static void *2<2.> 1f="fs/ext2/acl.c#L85" id> L85" class="line" namn> L85">on8512a>a2.> 1f="+code=ext2_acl_to_disk" class="s 1f">ext2_acl_to_disk6.a>(const struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *v2.> 1f="+code=acl" class="s 1f">acl12a>, v2.> 1f="+code=size_t" class="s 1f">size_t12a> *v2.> 1f="+code=size" class="s 1f">size12a>)2<2.> 1f="fs/ext2/acl.c#L86" id> L86" class="line" namn> L86">on8612a>{2<2.> 1f="fs/ext2/acl.c#L87" id> L87" class="line" namn> L87">on876.a> v2.> 1f="+code=ext2_acl_header" class="s 1f">ext2_acl_header6.a> *v2.> 1f="+code=ext_acl" class="s 1f">ext_acl12a>;t<2.> 1f="fs/ext2/acl.c#L88" id> L88" class="line" namn> L88">on886.a> char *a2.> 1f="+code=e" class="s 1f">e12a>;t<2.> 1f="fs/ext2/acl.c#L89" id> L89" class="line" namn> L89">on896.a> a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=n" class="s 1f">n6.a>;t<2.> 1f="fs/ext2/acl.c#L90" id> L90" class="line" namn> L90">on9012a>t<2.> 1f="fs/ext2/acl.c#L91" id> L91" class="line" namn> L91">on916.a> *v2.> 1f="+code=size" class="s 1f">size12a> = v2.> 1f="+code=ext2_acl_size" class="s 1f">ext2_acl_size6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_count" class="s 1f">a_count6.a>);t<2.> 1f="fs/ext2/acl.c#L92" id> L92" class="line" namn> L92">on926.a> v2.> 1f="+code=ext_acl" class="s 1f">ext_acl12a> = v2.> 1f="+code=kmalloc" class="s 1f">kmalloc6.a>(sizeof(v2.> 1f="+code=ext2_acl_header" class="s 1f">ext2_acl_header6.a>) + v2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_count" class="s 1f">a_count6.a> *2<2.> 1f="fs/ext2/acl.c#L93" id> L93" class="line" namn> L93">on936.a> sizeof(v2.> 1f="+code=ext2_acl_entry" class="s 1f">ext2_acl_entry12a>), v2.> 1f="+code=GFP_KERNEL" class="s 1f">GFP_KERNEL6.a>);t<2.> 1f="fs/ext2/acl.c#L94" id> L94" class="line" namn> L94">on946.a> if (!a2.> 1f="+code=ext_acl" class="s 1f">ext_acl12a>)2<2.> 1f="fs/ext2/acl.c#L95" id> L95" class="line" namn> L95">on956.a> return a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(-a2.> 1f="+code=ENOMEM" class="s 1f">ENOMEM6.a>);t<2.> 1f="fs/ext2/acl.c#L96" id> L96" class="line" namn> L96">on966.a> v2.> 1f="+code=ext_acl" class="s 1f">ext_acl12a>->a2.> 1f="+code=a_vers <" class="s 1f">a_vers <6.a> = v2.> 1f="+code=cpu_to_le32" class="s 1f">cpu_to_le326.a>(a2.> 1f="+code=EXT2_ACL_VERSION" class="s 1f">EXT2_ACL_VERSION6.a>);t<2.> 1f="fs/ext2/acl.c#L97" id> L97" class="line" namn> L97">on976.a> v2.> 1f="+code=e" class="s 1f">e12a> = (char *)a2.> 1f="+code=ext_acl" class="s 1f">ext_acl12a> + sizeof(v2.> 1f="+code=ext2_acl_header" class="s 1f">ext2_acl_header6.a>);t<2.> 1f="fs/ext2/acl.c#L98" id> L98" class="line" namn> L98">on986.a> for (v2.> 1f="+code=n" class="s 1f">n6.a>=0; v2.> 1f="+code=n" class="s 1f">n6.a> < v2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_count" class="s 1f">a_count6.a>; v2.> 1f="+code=n" class="s 1f">n6.a>++) {2<2.> 1f="fs/ext2/acl.c#L99" id> L99" class="line" namn> L99">on996.a> v2.> 1f="+code=ext2_acl_entry" class="s 1f">ext2_acl_entry12a> *v2.> 1f="+code=entry" class="s 1f">entry12a> = (v2.> 1f="+code=ext2_acl_entry" class="s 1f">ext2_acl_entry12a> *)a2.> 1f="+code=e" class="s 1f">e12a>;t<2.> 1f="fs/ext2/acl.c#L100" id> L100" class="line" namn> L100">o1006.a> v2.> 1f="+code=entry" class="s 1f">entry12a>->a2.> 1f="+code=e_tag" class="s 1f">e_tag6.a> = v2.> 1f="+code=cpu_to_le16" class="s 1f">cpu_to_le1612a>(a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_tag" class="s 1f">e_tag6.a>);t<2.> 1f="fs/ext2/acl.c#L101" id> L101" class="line" namn> L101">o1016.a> v2.> 1f="+code=entry" class="s 1f">entry12a>->a2.> 1f="+code=e_perm" class="s 1f">e_perm12a> = v2.> 1f="+code=cpu_to_le16" class="s 1f">cpu_to_le1612a>(a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_perm" class="s 1f">e_perm12a>);t<2.> 1f="fs/ext2/acl.c#L102" id> L102" class="line" namn> L102">o1026.a> switch(a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_tag" class="s 1f">e_tag6.a>) {2<2.> 1f="fs/ext2/acl.c#L103" id> L103" class="line" namn> L103">o1036.a> case v2.> 1f="+code=ACL_USER" class="s 1f">ACL_USER6.a>:2<2.> 1f="fs/ext2/acl.c#L104" id> L104" class="line" namn> L104">o1046.a> case v2.> 1f="+code=ACL_GROUP" class="s 1f">ACL_GROUP6.a>:2<2.> 1f="fs/ext2/acl.c#L105" id> L105" class="line" namn> L105">o1056.a> a2.> 1f="+code=entry" class="s 1f">entry12a>->a2.> 1f="+code=e_id" class="s 1f">e_id12a> =t<2.> 1f="fs/ext2/acl.c#L106" id> L106" class="line" namn> L106">o1066.a> a2.> 1f="+code=cpu_to_le32" class="s 1f">cpu_to_le326.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>->a2.> 1f="+code=a_entries" class="s 1f">a_entries12a>[v2.> 1f="+code=n" class="s 1f">n6.a>].v2.> 1f="+code=e_id" class="s 1f">e_id12a>);t<2.> 1f="fs/ext2/acl.c#L107" id> L107" class="line" namn> L107">o1076.a> v2.> 1f="+code=e" class="s 1f">e12a> += sizeof(v2.> 1f="+code=ext2_acl_entry" class="s 1f">ext2_acl_entry12a>);t<2.> 1f="fs/ext2/acl.c#L108" id> L108" class="line" namn> L108">o1086.a> break;t<2.> 1f="fs/ext2/acl.c#L109" id> L109" class="line" namn> L109">o10912a>t<2.> 1f="fs/ext2/acl.c#L110" id> L110" class="line" namn> L110">o1106.a> case v2.> 1f="+code=ACL_USER_OBJ" class="s 1f">ACL_USER_OBJ6.a>:2<2.> 1f="fs/ext2/acl.c#L111" id> L111" class="line" namn> L111">o1116.a> case v2.> 1f="+code=ACL_GROUP_OBJ" class="s 1f">ACL_GROUP_OBJ6.a>:2<2.> 1f="fs/ext2/acl.c#L112" id> L112" class="line" namn> L112">o1126.a> case v2.> 1f="+code=ACL_MASK" class="s 1f">ACL_MASK6.a>:2<2.> 1f="fs/ext2/acl.c#L113" id> L113" class="line" namn> L113">o1136.a> case v2.> 1f="+code=ACL_OTHER" class="s 1f">ACL_OTHER6.a>:2<2.> 1f="fs/ext2/acl.c#L114" id> L114" class="line" namn> L114">o1146.a> a2.> 1f="+code=e" class="s 1f">e12a> += sizeof(v2.> 1f="+code=ext2_acl_entry_short" class="s 1f">ext2_acl_entry_short6.a>);t<2.> 1f="fs/ext2/acl.c#L115" id> L115" class="line" namn> L115">o1156.a> break;t<2.> 1f="fs/ext2/acl.c#L116" id> L116" class="line" namn> L116">o11612a>t<2.> 1f="fs/ext2/acl.c#L117" id> L117" class="line" namn> L117">o1176.a> default:2<2.> 1f="fs/ext2/acl.c#L118" id> L118" class="line" namn> L118">o1186.a> goto v2.> 1f="+code=fail" class="s 1f">fail6.a>;t<2.> 1f="fs/ext2/acl.c#L119" id> L119" class="line" namn> L119">o1196.a> }t<2.> 1f="fs/ext2/acl.c#L120" id> L120" class="line" namn> L120">o1206.a> }t<2.> 1f="fs/ext2/acl.c#L121" id> L121" class="line" namn> L121">o1216.a> return (char *)a2.> 1f="+code=ext_acl" class="s 1f">ext_acl12a>;t<2.> 1f="fs/ext2/acl.c#L122" id> L122" class="line" namn> L122">o1226.a>t<2.> 1f="fs/ext2/acl.c#L123" id> L123" class="line" namn> L123">o1236.a>v2.> 1f="+code=fail" class="s 1f">fail6.a>:2<2.> 1f="fs/ext2/acl.c#L124" id> L124" class="line" namn> L124">o1246.a> a2.> 1f="+code=kfree" class="s 1f">kfree6.a>(a2.> 1f="+code=ext_acl" class="s 1f">ext_acl12a>);t<2.> 1f="fs/ext2/acl.c#L125" id> L125" class="line" namn> L125">o1256.a> return a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(-a2.> 1f="+code=EINVAL" class="s 1f">EINVAL6.a>);t<2.> 1f="fs/ext2/acl.c#L126" id> L126" class="line" namn> L126">o1266.a>}t<2.> 1f="fs/ext2/acl.c#L127" id> L127" class="line" namn> L127">o12712a>t<2.> 1f="fs/ext2/acl.c#L128" id> L128" class="line" namn> L128">o12812a>aue=" class="comment">/*alue="v2<2.> 1f="fs/ext2/acl.c#L129" id> L129" class="line" namn> L129">o1296.a>aue=" class="comment"> * inode->i_mutex: don't carealue="v2<2.> 1f="fs/ext2/acl.c#L130" id> L130" class="line" namn> L130">o1306.a>aue=" class="comment"> */alue="v2<2.> 1f="fs/ext2/acl.c#L131" id> L131" class="line" namn> L131">o1316.a>struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *2<2.> 1f="fs/ext2/acl.c#L132" id> L132" class="line" namn> L132">o1326.a>v2.> 1f="+code=ext2_get_acl" class="s 1f">ext2_get_acl6.a>(struct v2.> 1f="+code=inode" class="s 1f">inode12a> *v2.> 1f="+code=inode" class="s 1f">inode12a>, int v2.> 1f="+code=typn" class="s 1f">typn12a>)2<2.> 1f="fs/ext2/acl.c#L133" id> L133" class="line" namn> L133">o1336.a>{2<2.> 1f="fs/ext2/acl.c#L134" id> L134" class="line" namn> L134">o1346.a> int v2.> 1f="+code=namn_index" class="s 1f">namn_index12a>;t<2.> 1f="fs/ext2/acl.c#L135" id> L135" class="line" namn> L135">o1356.a> char *a2.> 1f="+code=ption" class="s 1f">ption6.a> = a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L136" id> L136" class="line" namn> L136">o1366.a> struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *v2.> 1f="+code=acl" class="s 1f">acl12a>;t<2.> 1f="fs/ext2/acl.c#L137" id> L137" class="line" namn> L137">o1376.a> int v2.> 1f="+code=retpti" class="s 1f">retpti12a>;t<2.> 1f="fs/ext2/acl.c#L138" id> L138" class="line" namn> L138">o13812a>t<2.> 1f="fs/ext2/acl.c#L139" id> L139" class="line" namn> L139">o1396.a> if (!a2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_sb" class="s 1f">i_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>))2<2.> 1f="fs/ext2/acl.c#L140" id> L140" class="line" namn> L140">o1406.a> return a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L141" id> L141" class="line" namn> L141">o1416.a>t<2.> 1f="fs/ext2/acl.c#L142" id> L142" class="line" namn> L142">o1426.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=get_cached_acl" class="s 1f">get_cached_acl6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=typn" class="s 1f">typn12a>);t<2.> 1f="fs/ext2/acl.c#L143" id> L143" class="line" namn> L143">o1436.a> if (v2.> 1f="+code=acl" class="s 1f">acl12a> != v2.> 1f="+code=ACL_NOT_CACHED" class="s 1f">ACL_NOT_CACHED12a>)2<2.> 1f="fs/ext2/acl.c#L144" id> L144" class="line" namn> L144">o1446.a> return a2.> 1f="+code=acl" class="s 1f">acl12a>;t<2.> 1f="fs/ext2/acl.c#L145" id> L145" class="line" namn> L145">o14512a>t<2.> 1f="fs/ext2/acl.c#L146" id> L146" class="line" namn> L146">o1466.a> switch (v2.> 1f="+code=typn" class="s 1f">typn12a>) {2<2.> 1f="fs/ext2/acl.c#L147" id> L147" class="line" namn> L147">o1476.a> case v2.> 1f="+code=ACL_TYPE_ACCESS" class="s 1f">ACL_TYPE_ACCESS6.a>:2<2.> 1f="fs/ext2/acl.c#L148" id> L148" class="line" namn> L148">o1486.a> a2.> 1f="+code=namn_index" class="s 1f">namn_index12a> = a2.> 1f="+code=EXT2_XATTR_INDEX_POSIX_ACL_ACCESS" class="s 1f">EXT2_XATTR_INDEX_POSIX_ACL_ACCESS12a>;t<2.> 1f="fs/ext2/acl.c#L149" id> L149" class="line" namn> L149">o1496.a> break;t<2.> 1f="fs/ext2/acl.c#L150" id> L150" class="line" namn> L150">o1506.a> case v2.> 1f="+code=ACL_TYPE_DEFAULT" class="s 1f">ACL_TYPE_DEFAULT6.a>:2<2.> 1f="fs/ext2/acl.c#L151" id> L151" class="line" namn> L151">o1516.a> a2.> 1f="+code=namn_index" class="s 1f">namn_index12a> = a2.> 1f="+code=EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT" class="s 1f">EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT12a>;t<2.> 1f="fs/ext2/acl.c#L152" id> L152" class="line" namn> L152">o1526.a> break;t<2.> 1f="fs/ext2/acl.c#L153" id> L153" class="line" namn> L153">o1536.a> default:2<2.> 1f="fs/ext2/acl.c#L154" id> L154" class="line" namn> L154">o1546.a> a2.> 1f="+code=BUG" class="s 1f">BUG6.a>();t<2.> 1f="fs/ext2/acl.c#L155" id> L155" class="line" namn> L155">o1556.a> }t<2.> 1f="fs/ext2/acl.c#L156" id> L156" class="line" namn> L156">o1566.a> v2.> 1f="+code=retpti" class="s 1f">retpti12a> = v2.> 1f="+code=ext2_xattr_get" class="s 1f">ext2_xattr_get6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=namn_index" class="s 1f">namn_index12a>, aue=" class="string">"" 1f="+code=NULL" class="s 1f">NULL12a>, 0);t<2.> 1f="fs/ext2/acl.c#L157" id> L157" class="line" namn> L157">o1576.a> if (v2.> 1f="+code=retpti" class="s 1f">retpti12a> > 0) {2<2.> 1f="fs/ext2/acl.c#L158" id> L158" class="line" namn> L158">o1586.a> a2.> 1f="+code=ption" class="s 1f">ption6.a> = a2.> 1f="+code=kmalloc" class="s 1f">kmalloc6.a>(v2.> 1f="+code=retpti" class="s 1f">retpti12a>, v2.> 1f="+code=GFP_KERNEL" class="s 1f">GFP_KERNEL6.a>);t<2.> 1f="fs/ext2/acl.c#L159" id> L159" class="line" namn> L159">o1596.a> if (!a2.> 1f="+code=ption" class="s 1f">ption6.a>)2<2.> 1f="fs/ext2/acl.c#L160" id> L160" class="line" namn> L160">o1606.a> return a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(-a2.> 1f="+code=ENOMEM" class="s 1f">ENOMEM6.a>);t<2.> 1f="fs/ext2/acl.c#L161" id> L161" class="line" namn> L161">o1616.a> v2.> 1f="+code=retpti" class="s 1f">retpti12a> = v2.> 1f="+code=ext2_xattr_get" class="s 1f">ext2_xattr_get6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=namn_index" class="s 1f">namn_index12a>, aue=" class="string">"" 1f="+code=ption" class="s 1f">ption6.a>, a2.> 1f="+code=retpti" class="s 1f">retpti12a>);t<2.> 1f="fs/ext2/acl.c#L162" id> L162" class="line" namn> L162">o1626.a> }t<2.> 1f="fs/ext2/acl.c#L163" id> L163" class="line" namn> L163">o1636.a> if (v2.> 1f="+code=retpti" class="s 1f">retpti12a> > 0)t<2.> 1f="fs/ext2/acl.c#L164" id> L164" class="line" namn> L164">o1646.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=ext2_acl_from_disk" class="s 1f">ext2_acl_from_disk6.a>(a2.> 1f="+code=ption" class="s 1f">ption6.a>, a2.> 1f="+code=retpti" class="s 1f">retpti12a>);t<2.> 1f="fs/ext2/acl.c#L165" id> L165" class="line" namn> L165">o1656.a> else if (v2.> 1f="+code=retpti" class="s 1f">retpti12a> == -a2.> 1f="+code=ENODATA" class="s 1f">ENODATA12a> || v2.> 1f="+code=retpti" class="s 1f">retpti12a> == -a2.> 1f="+code=ENOSYS" class="s 1f">ENOSYS6.a>)2<2.> 1f="fs/ext2/acl.c#L166" id> L166" class="line" namn> L166">o1666.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L167" id> L167" class="line" namn> L167">o1676.a> elset<2.> 1f="fs/ext2/acl.c#L168" id> L168" class="line" namn> L168">o1686.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=ERR_PTR" class="s 1f">ERR_PTR6.a>(a2.> 1f="+code=retpti" class="s 1f">retpti12a>);t<2.> 1f="fs/ext2/acl.c#L169" id> L169" class="line" namn> L169">o1696.a> a2.> 1f="+code=kfree" class="s 1f">kfree6.a>(a2.> 1f="+code=ption" class="s 1f">ption6.a>);t<2.> 1f="fs/ext2/acl.c#L170" id> L170" class="line" namn> L170">o17012a>t<2.> 1f="fs/ext2/acl.c#L171" id> L171" class="line" namn> L171">o1716.a> if (!a2.> 1f="+code=IS_ERR" class="s 1f">IS_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>))2<2.> 1f="fs/ext2/acl.c#L172" id> L172" class="line" namn> L172">o1726.a> a2.> 1f="+code=set_cached_acl" class="s 1f">set_cached_acl6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=typn" class="s 1f">typn12a>, a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L173" id> L173" class="line" namn> L173">o1736.a>t<2.> 1f="fs/ext2/acl.c#L174" id> L174" class="line" namn> L174">o1746.a> return a2.> 1f="+code=acl" class="s 1f">acl12a>;t<2.> 1f="fs/ext2/acl.c#L175" id> L175" class="line" namn> L175">o17512a>}t<2.> 1f="fs/ext2/acl.c#L176" id> L176" class="line" namn> L176">o17612a>t<2.> 1f="fs/ext2/acl.c#L177" id> L177" class="line" namn> L177">o17712a>aue=" class="comment">/*alue="v2<2.> 1f="fs/ext2/acl.c#L178" id> L178" class="line" namn> L178">o17812a>aue=" class="comment"> * inode->i_mutex: downalue="v2<2.> 1f="fs/ext2/acl.c#L179" id> L179" class="line" namn> L179">o1796.a>aue=" class="comment"> */alue="v2<2.> 1f="fs/ext2/acl.c#L180" id> L180" class="line" namn> L180">o18012a>static int2<2.> 1f="fs/ext2/acl.c#L181" id> L181" class="line" namn> L181">o18112a>a2.> 1f="+code=ext2_set_acl" class="s 1f">ext2_set_acl6.a>(struct v2.> 1f="+code=inode" class="s 1f">inode12a> *v2.> 1f="+code=inode" class="s 1f">inode12a>, int v2.> 1f="+code=typn" class="s 1f">typn12a>, struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *v2.> 1f="+code=acl" class="s 1f">acl12a>)2<2.> 1f="fs/ext2/acl.c#L182" id> L182" class="line" namn> L182">o18212a>{2<2.> 1f="fs/ext2/acl.c#L183" id> L183" class="line" namn> L183">o1836.a> int v2.> 1f="+code=namn_index" class="s 1f">namn_index12a>;t<2.> 1f="fs/ext2/acl.c#L184" id> L184" class="line" namn> L184">o1846.a> void *a2.> 1f="+code=ption" class="s 1f">ption6.a> = a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L185" id> L185" class="line" namn> L185">o1856.a> a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=size" class="s 1f">size12a> = 0;t<2.> 1f="fs/ext2/acl.c#L186" id> L186" class="line" namn> L186">o1866.a> int v2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L187" id> L187" class="line" namn> L187">o18712a>t<2.> 1f="fs/ext2/acl.c#L188" id> L188" class="line" namn> L188">o1886.a> if (v2.> 1f="+code=S_ISLNK" class="s 1f">S_ISLNK6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a>))2<2.> 1f="fs/ext2/acl.c#L189" id> L189" class="line" namn> L189">o1896.a> return -a2.> 1f="+code=EOPNOTSUPP" class="s 1f">EOPNOTSUPP12a>;t<2.> 1f="fs/ext2/acl.c#L190" id> L190" class="line" namn> L190">o1906.a> if (!a2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_sb" class="s 1f">i_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>))2<2.> 1f="fs/ext2/acl.c#L191" id> L191" class="line" namn> L191">o1916.a> return 0;t<2.> 1f="fs/ext2/acl.c#L192" id> L192" class="line" namn> L192">o1926.a>t<2.> 1f="fs/ext2/acl.c#L193" id> L193" class="line" namn> L193">o1936.a> switch(a2.> 1f="+code=typn" class="s 1f">typn12a>) {2<2.> 1f="fs/ext2/acl.c#L194" id> L194" class="line" namn> L194">o1946.a> case v2.> 1f="+code=ACL_TYPE_ACCESS" class="s 1f">ACL_TYPE_ACCESS6.a>:2<2.> 1f="fs/ext2/acl.c#L195" id> L195" class="line" namn> L195">o1956.a> a2.> 1f="+code=namn_index" class="s 1f">namn_index12a> = a2.> 1f="+code=EXT2_XATTR_INDEX_POSIX_ACL_ACCESS" class="s 1f">EXT2_XATTR_INDEX_POSIX_ACL_ACCESS12a>;t<2.> 1f="fs/ext2/acl.c#L196" id> L196" class="line" namn> L196">o1966.a> if (v2.> 1f="+code=acl" class="s 1f">acl12a>) {2<2.> 1f="fs/ext2/acl.c#L197" id> L197" class="line" namn> L197">o1976.a> v2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=posix_acl_equiv_mode" class="s 1f">posix_acl_equiv_mode6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>, &a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a>);t<2.> 1f="fs/ext2/acl.c#L198" id> L198" class="line" namn> L198">o1986.a> if (v2.> 1f="+code=error" class="s 1f">error12a> < 0)2<2.> 1f="fs/ext2/acl.c#L199" id> L199" class="line" namn> L199">o1996.a> return a2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L200" id> L200" class="line" namn> L200">o2006.a> else {2<2.> 1f="fs/ext2/acl.c#L201" id> L201" class="line" namn> L201">o2016.a> a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_ctime" class="s 1f">i_ctime12a> = v2.> 1f="+code=CURRENT_TIME_SEC" class="s 1f">CURRENT_TIME_SEC12a>;t<2.> 1f="fs/ext2/acl.c#L202" id> L202" class="line" namn> L202">o2026.a> a2.> 1f="+code=mark_inode_dirty" class="s 1f">mark_inode_dirty6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>);t<2.> 1f="fs/ext2/acl.c#L203" id> L203" class="line" namn> L203">o2036.a> if (v2.> 1f="+code=error" class="s 1f">error12a> == 0)2<2.> 1f="fs/ext2/acl.c#L204" id> L204" class="line" namn> L204">o2046.a> a2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L205" id> L205" class="line" namn> L205">o2056.a> }t<2.> 1f="fs/ext2/acl.c#L206" id> L206" class="line" namn> L206">o2066.a> }t<2.> 1f="fs/ext2/acl.c#L207" id> L207" class="line" namn> L207">o2076.a> break;t<2.> 1f="fs/ext2/acl.c#L208" id> L208" class="line" namn> L208">o20812a>t<2.> 1f="fs/ext2/acl.c#L209" id> L209" class="line" namn> L209">o2096.a> case v2.> 1f="+code=ACL_TYPE_DEFAULT" class="s 1f">ACL_TYPE_DEFAULT6.a>:2<2.> 1f="fs/ext2/acl.c#L210" id> L210" class="line" namn> L210">o2106.a> a2.> 1f="+code=namn_index" class="s 1f">namn_index12a> = a2.> 1f="+code=EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT" class="s 1f">EXT2_XATTR_INDEX_POSIX_ACL_DEFAULT12a>;t<2.> 1f="fs/ext2/acl.c#L211" id> L211" class="line" namn> L211">o2116.a> if (!a2.> 1f="+code=S_ISDIR" class="s 1f">S_ISDIR6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a>))2<2.> 1f="fs/ext2/acl.c#L212" id> L212" class="line" namn> L212">o2126.a> return a2.> 1f="+code=acl" class="s 1f">acl12a> ? -a2.> 1f="+code=EACCES" class="s 1f">EACCES12a> : 0;t<2.> 1f="fs/ext2/acl.c#L213" id> L213" class="line" namn> L213">o2136.a> break;t<2.> 1f="fs/ext2/acl.c#L214" id> L214" class="line" namn> L214">o2146.a>t<2.> 1f="fs/ext2/acl.c#L215" id> L215" class="line" namn> L215">o2156.a> default:2<2.> 1f="fs/ext2/acl.c#L216" id> L216" class="line" namn> L216">o2166.a> return -a2.> 1f="+code=EINVAL" class="s 1f">EINVAL6.a>;t<2.> 1f="fs/ext2/acl.c#L217" id> L217" class="line" namn> L217">o2176.a> }t<2.> 1f="fs/ext2/acl.c#L218" id> L218" class="line" namn> L218">o2186.a> if (v2.> 1f="+code=acl" class="s 1f">acl12a>) {2<2.> 1f="fs/ext2/acl.c#L219" id> L219" class="line" namn> L219">o2196.a> a2.> 1f="+code=ption" class="s 1f">ption6.a> = a2.> 1f="+code=ext2_acl_to_disk" class="s 1f">ext2_acl_to_disk6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>, &a2.> 1f="+code=size" class="s 1f">size12a>);t<2.> 1f="fs/ext2/acl.c#L220" id> L220" class="line" namn> L220">o2206.a> if (v2.> 1f="+code=IS_ERR" class="s 1f">IS_ERR6.a>(a2.> 1f="+code=ption" class="s 1f">ption6.a>))2<2.> 1f="fs/ext2/acl.c#L221" id> L221" class="line" namn> L221">o2216.a> return (int)a2.> 1f="+code=PTR_ERR" class="s 1f">PTR_ERR6.a>(a2.> 1f="+code=ption" class="s 1f">ption6.a>);t<2.> 1f="fs/ext2/acl.c#L222" id> L222" class="line" namn> L222">o2226.a> }t<2.> 1f="fs/ext2/acl.c#L223" id> L223" class="line" namn> L223">o2236.a>t<2.> 1f="fs/ext2/acl.c#L224" id> L224" class="line" namn> L224">o2246.a> a2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=ext2_xattr_set" class="s 1f">ext2_xattr_set6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=namn_index" class="s 1f">namn_index12a>, aue=" class="string">"" 1f="+code=ption" class="s 1f">ption6.a>, a2.> 1f="+code=size" class="s 1f">size12a>, 0);t<2.> 1f="fs/ext2/acl.c#L225" id> L225" class="line" namn> L225">o22512a>t<2.> 1f="fs/ext2/acl.c#L226" id> L226" class="line" namn> L226">o2266.a> v2.> 1f="+code=kfree" class="s 1f">kfree6.a>(a2.> 1f="+code=ption" class="s 1f">ption6.a>);t<2.> 1f="fs/ext2/acl.c#L227" id> L227" class="line" namn> L227">o2276.a> if (!a2.> 1f="+code=error" class="s 1f">error12a>)2<2.> 1f="fs/ext2/acl.c#L228" id> L228" class="line" namn> L228">o2286.a> v2.> 1f="+code=set_cached_acl" class="s 1f">set_cached_acl6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=typn" class="s 1f">typn12a>, a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L229" id> L229" class="line" namn> L229">o2296.a> return a2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L230" id> L230" class="line" namn> L230">o2306.a>}t<2.> 1f="fs/ext2/acl.c#L231" id> L231" class="line" namn> L231">o2316.a>t<2.> 1f="fs/ext2/acl.c#L232" id> L232" class="line" namn> L232">o23212a>aue=" class="comment">/*alue="v2<2.> 1f="fs/ext2/acl.c#L233" id> L233" class="line" namn> L233">o23312a>aue=" class="comment"> * Initialize the ACLs of a new inode. Called from ext2_new_inode.alue="v2<2.> 1f="fs/ext2/acl.c#L234" id> L234" class="line" namn> L234">o2346.a>aue=" class="comment"> *alue="v2<2.> 1f="fs/ext2/acl.c#L235" id> L235" class="line" namn> L235">o2356.a>aue=" class="comment"> * dir->i_mutex: downalue="v2<2.> 1f="fs/ext2/acl.c#L236" id> L236" class="line" namn> L236">o2366.a>aue=" class="comment"> * inode->i_mutex: up (access to inode is still exclusive)alue="v2<2.> 1f="fs/ext2/acl.c#L237" id> L237" class="line" namn> L237">o23712a>aue=" class="comment"> */alue="v2<2.> 1f="fs/ext2/acl.c#L238" id> L238" class="line" namn> L238">o23812a>int2<2.> 1f="fs/ext2/acl.c#L239" id> L239" class="line" namn> L239">o2396.a>v2.> 1f="+code=ext2_init_acl" class="s 1f">ext2_init_acl6.a>(struct v2.> 1f="+code=inode" class="s 1f">inode12a> *v2.> 1f="+code=inode" class="s 1f">inode12a>, struct v2.> 1f="+code=inode" class="s 1f">inode12a> *v2.> 1f="+code=dir" class="s 1f">dir12a>)2<2.> 1f="fs/ext2/acl.c#L240" id> L240" class="line" namn> L240">o2406.a>{2<2.> 1f="fs/ext2/acl.c#L241" id> L241" class="line" namn> L241">o2416.a> struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L242" id> L242" class="line" namn> L242">o2426.a> int v2.> 1f="+code=error" class="s 1f">error12a> = 0;t<2.> 1f="fs/ext2/acl.c#L243" id> L243" class="line" namn> L243">o2436.a>t<2.> 1f="fs/ext2/acl.c#L244" id> L244" class="line" namn> L244">o2446.a> if (!a2.> 1f="+code=S_ISLNK" class="s 1f">S_ISLNK6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a>)) {2<2.> 1f="fs/ext2/acl.c#L245" id> L245" class="line" namn> L245">o2456.a> if (v2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=dir" class="s 1f">dir12a>->a2.> 1f="+code=i_sb" class="s 1f">i_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>)) {2<2.> 1f="fs/ext2/acl.c#L246" id> L246" class="line" namn> L246">o2466.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=ext2_get_acl" class="s 1f">ext2_get_acl6.a>(a2.> 1f="+code=dir" class="s 1f">dir12a>, a2.> 1f="+code=ACL_TYPE_DEFAULT" class="s 1f">ACL_TYPE_DEFAULT6.a>);t<2.> 1f="fs/ext2/acl.c#L247" id> L247" class="line" namn> L247">o2476.a> if (v2.> 1f="+code=IS_ERR" class="s 1f">IS_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>))2<2.> 1f="fs/ext2/acl.c#L248" id> L248" class="line" namn> L248">o2486.a> return a2.> 1f="+code=PTR_ERR" class="s 1f">PTR_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L249" id> L249" class="line" namn> L249">o2496.a> }t<2.> 1f="fs/ext2/acl.c#L250" id> L250" class="line" namn> L250">o2506.a> if (!a2.> 1f="+code=acl" class="s 1f">acl12a>)2<2.> 1f="fs/ext2/acl.c#L251" id> L251" class="line" namn> L251">o2516.a> v2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a> &= ~a2.> 1f="+code=current_umask" class="s 1f">current_umask6.a>();t<2.> 1f="fs/ext2/acl.c#L252" id> L252" class="line" namn> L252">o2526.a> }t<2.> 1f="fs/ext2/acl.c#L253" id> L253" class="line" namn> L253">o2536.a> if (v2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_sb" class="s 1f">i_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>) && a2.> 1f="+code=acl" class="s 1f">acl12a>) {2<2.> 1f="fs/ext2/acl.c#L254" id> L254" class="line" namn> L254">o2546.a> if (v2.> 1f="+code=S_ISDIR" class="s 1f">S_ISDIR6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a>)) {2<2.> 1f="fs/ext2/acl.c#L255" id> L255" class="line" namn> L255">o2556.a> a2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=ext2_set_acl" class="s 1f">ext2_set_acl6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=ACL_TYPE_DEFAULT" class="s 1f">ACL_TYPE_DEFAULT6.a>, a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L256" id> L256" class="line" namn> L256">o2566.a> if (v2.> 1f="+code=error" class="s 1f">error12a>)2<2.> 1f="fs/ext2/acl.c#L257" id> L257" class="line" namn> L257">o2576.a> goto v2.> 1f="+code=cleanup" class="s 1f">cleanup12a>;t<2.> 1f="fs/ext2/acl.c#L258" id> L258" class="line" namn> L258">o2586.a> }t<2.> 1f="fs/ext2/acl.c#L259" id> L259" class="line" namn> L259">o2596.a> a2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=posix_acl_create" class="s 1f">posix_acl_create6.a>(&a2.> 1f="+code=acl" class="s 1f">acl12a>, a2.> 1f="+code=GFP_KERNEL" class="s 1f">GFP_KERNEL6.a>, &a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a>);t<2.> 1f="fs/ext2/acl.c#L260" id> L260" class="line" namn> L260">o2606.a> if (v2.> 1f="+code=error" class="s 1f">error12a> < 0)2<2.> 1f="fs/ext2/acl.c#L261" id> L261" class="line" namn> L261">o2616.a> return a2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L262" id> L262" class="line" namn> L262">o2626.a> if (v2.> 1f="+code=error" class="s 1f">error12a> > 0) {2<2.> 1f="fs/ext2/acl.c#L263" id> L263" class="line" namn> L263">o2636.a> aue=" class="comment">/* This is =" extended ACL */alue="v2<2.> 1f="fs/ext2/acl.c#L264" id> L264" class="line" namn> L264">o2646.a> a2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=ext2_set_acl" class="s 1f">ext2_set_acl6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=ACL_TYPE_ACCESS" class="s 1f">ACL_TYPE_ACCESS6.a>, a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L265" id> L265" class="line" namn> L265">o2656.a> }t<2.> 1f="fs/ext2/acl.c#L266" id> L266" class="line" namn> L266">o2666.a> }t<2.> 1f="fs/ext2/acl.c#L267" id> L267" class="line" namn> L267">o2676.a>v2.> 1f="+code=cleanup" class="s 1f">cleanup12a>:2<2.> 1f="fs/ext2/acl.c#L268" id> L268" class="line" namn> L268">o2686.a> v2.> 1f="+code=posix_acl_release" class="s 1f">posix_acl_release6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L269" id> L269" class="line" namn> L269">o2696.a> return a2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L270" id> L270" class="line" namn> L270">o2706.a>}t<2.> 1f="fs/ext2/acl.c#L271" id> L271" class="line" namn> L271">o2716.a>t<2.> 1f="fs/ext2/acl.c#L272" id> L272" class="line" namn> L272">o27212a>aue=" class="comment">/*alue="v2<2.> 1f="fs/ext2/acl.c#L273" id> L273" class="line" namn> L273">o27312a>aue=" class="comment"> * Does chmod for =" inode that may have =" Access Control List. Thealue="v2<2.> 1f="fs/ext2/acl.c#L274" id> L274" class="line" namn> L274">o2746.a>aue=" class="comment"> * inode->i_mode field must be updated to the desired ption by the calleralue="v2<2.> 1f="fs/ext2/acl.c#L275" id> L275" class="line" namn> L275">o2756.a>aue=" class="comment"> * before calling this function.alue="v2<2.> 1f="fs/ext2/acl.c#L276" id> L276" class="line" namn> L276">o2766.a>aue=" class="comment"> * Returns 0 on success, or = negative error number.alue="v2<2.> 1f="fs/ext2/acl.c#L277" id> L277" class="line" namn> L277">o27712a>aue=" class="comment"> *alue="v2<2.> 1f="fs/ext2/acl.c#L278" id> L278" class="line" namn> L278">o27812a>aue=" class="comment"> * We change the ACL rather than storing some ACL entries in the filealue="v2<2.> 1f="fs/ext2/acl.c#L279" id> L279" class="line" namn> L279">o2796.a>aue=" class="comment"> * mode permiss < bits (which would be more efficient), because thatalue="v2<2.> 1f="fs/ext2/acl.c#L280" id> L280" class="line" namn> L280">o2806.a>aue=" class="comment"> * would break once =dditional permiss L281" class="line" namn> L281">o28112a>aue=" class="comment"> * for directories) are =dded. There =re no more bits available in thealue="v2<2.> 1f="fs/ext2/acl.c#L282" id> L282" class="line" namn> L282">o28212a>aue=" class="comment"> * file mode.alue="v2<2.> 1f="fs/ext2/acl.c#L283" id> L283" class="line" namn> L283">o28312a>aue=" class="comment"> *alue="v2<2.> 1f="fs/ext2/acl.c#L284" id> L284" class="line" namn> L284">o2846.a>aue=" class="comment"> * inode->i_mutex: downalue="v2<2.> 1f="fs/ext2/acl.c#L285" id> L285" class="line" namn> L285">o2856.a>aue=" class="comment"> */alue="v2<2.> 1f="fs/ext2/acl.c#L286" id> L286" class="line" namn> L286">o2866.a>int2<2.> 1f="fs/ext2/acl.c#L287" id> L287" class="line" namn> L287">o2876.a>v2.> 1f="+code=ext2_acl_chmod" class="s 1f">ext2_acl_chmod6.a>(struct v2.> 1f="+code=inode" class="s 1f">inode12a> *v2.> 1f="+code=inode" class="s 1f">inode12a>)2<2.> 1f="fs/ext2/acl.c#L288" id> L288" class="line" namn> L288">o2886.a>{2<2.> 1f="fs/ext2/acl.c#L289" id> L289" class="line" namn> L289">o2896.a> struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *v2.> 1f="+code=acl" class="s 1f">acl12a>;t<2.> 1f="fs/ext2/acl.c#L290" id> L290" class="line" namn> L290">o2906.a> int v2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L291" id> L291" class="line" namn> L291">o2916.a>t<2.> 1f="fs/ext2/acl.c#L292" id> L292" class="line" namn> L292">o2926.a> if (!a2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_sb" class="s 1f">i_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>))2<2.> 1f="fs/ext2/acl.c#L293" id> L293" class="line" namn> L293">o2936.a> return 0;t<2.> 1f="fs/ext2/acl.c#L294" id> L294" class="line" namn> L294">o2946.a> if (a2.> 1f="+code=S_ISLNK" class="s 1f">S_ISLNK6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a>))t<2.> 1f="fs/ext2/acl.c#L295" id> L295" class="line" namn> L295">o2956.a> return -a2.> 1f="+code=EOPNOTSUPP" class="s 1f">EOPNOTSUPP12a>;t<2.> 1f="fs/ext2/acl.c#L296" id> L296" class="line" namn> L296">o2966.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=ext2_get_acl" class="s 1f">ext2_get_acl6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=ACL_TYPE_ACCESS" class="s 1f">ACL_TYPE_ACCESS6.a>);t<2.> 1f="fs/ext2/acl.c#L297" id> L297" class="line" namn> L297">o2976.a> if (v2.> 1f="+code=IS_ERR" class="s 1f">IS_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>) || !a2.> 1f="+code=acl" class="s 1f">acl12a>)2<2.> 1f="fs/ext2/acl.c#L298" id> L298" class="line" namn> L298">o2986.a> return a2.> 1f="+code=PTR_ERR" class="s 1f">PTR_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L299" id> L299" class="line" namn> L299">o2996.a> a2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=posix_acl_chmod" class="s 1f">posix_acl_chmod6.a>(&a2.> 1f="+code=acl" class="s 1f">acl12a>, a2.> 1f="+code=GFP_KERNEL" class="s 1f">GFP_KERNEL6.a>, a2.> 1f="+code=inode" class="s 1f">inode12a>->a2.> 1f="+code=i_mode" class="s 1f">i_mode12a>);t<2.> 1f="fs/ext2/acl.c#L300" id> L300" class="line" namn> L300">o3006.a> if (v2.> 1f="+code=error" class="s 1f">error12a>)2<2.> 1f="fs/ext2/acl.c#L301" id> L301" class="line" namn> L301">o3016.a> return a2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L302" id> L302" class="line" namn> L302">o3026.a> a2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=ext2_set_acl" class="s 1f">ext2_set_acl6.a>(a2.> 1f="+code=inode" class="s 1f">inode12a>, a2.> 1f="+code=ACL_TYPE_ACCESS" class="s 1f">ACL_TYPE_ACCESS6.a>, a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L303" id> L303" class="line" namn> L303">o3036.a> v2.> 1f="+code=posix_acl_release" class="s 1f">posix_acl_release6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L304" id> L304" class="line" namn> L304">o3046.a> return a2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L305" id> L305" class="line" namn> L305">o30512a>}t<2.> 1f="fs/ext2/acl.c#L306" id> L306" class="line" namn> L306">o30612a>t<2.> 1f="fs/ext2/acl.c#L307" id> L307" class="line" namn> L307">o30712a>aue=" class="comment">/*alue="v2<2.> 1f="fs/ext2/acl.c#L308" id> L308" class="line" namn> L308">o30812a>aue=" class="comment"> * Extended attribut handlersalue="v2<2.> 1f="fs/ext2/acl.c#L309" id> L309" class="line" namn> L309">o3096.a>aue=" class="comment"> */alue="v2<2.> 1f="fs/ext2/acl.c#L310" id> L310" class="line" namn> L310">o31012a>static a2.> 1f="+code=size_t" class="s 1f">size_t12a>2<2.> 1f="fs/ext2/acl.c#L311" id> L311" class="line" namn> L311">o31112a>a2.> 1f="+code=ext2_xattr_list_acl_access" class="s 1f">ext2_xattr_list_acl_access6.a>(struct v2.> 1f="+code=dentry" class="s 1f">dentry12a> *v2.> 1f="+code=dentry" class="s 1f">dentry12a>, char *a2.> 1f="+code=list" class="s 1f">list6.a>, a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=list_size" class="s 1f">list_size6.a>,2<2.> 1f="fs/ext2/acl.c#L312" id> L312" class="line" namn> L312">o3126.a> const char *a2.> 1f="+code=namn" class="s 1f">namn6.a>, a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=namn_len" class="s 1f">namn_len6.a>, int v2.> 1f="+code=typn" class="s 1f">typn12a>)2<2.> 1f="fs/ext2/acl.c#L313" id> L313" class="line" namn> L313">o3136.a>{2<2.> 1f="fs/ext2/acl.c#L314" id> L314" class="line" namn> L314">o3146.a> const a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=size" class="s 1f">size12a> = sizeof(a2.> 1f="+code=POSIX_ACL_XATTR_ACCESS" class="s 1f">POSIX_ACL_XATTR_ACCESS12a>);t<2.> 1f="fs/ext2/acl.c#L315" id> L315" class="line" namn> L315">o31512a>t<2.> 1f="fs/ext2/acl.c#L316" id> L316" class="line" namn> L316">o3166.a> if (!a2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=dentry" class="s 1f">dentry12a>->a2.> 1f="+code=d_sb" class="s 1f">d_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>))2<2.> 1f="fs/ext2/acl.c#L317" id> L317" class="line" namn> L317">o3176.a> return 0;t<2.> 1f="fs/ext2/acl.c#L318" id> L318" class="line" namn> L318">o3186.a> if (v2.> 1f="+code=list" class="s 1f">list6.a> && a2.> 1f="+code=size" class="s 1f">size12a> <= v2.> 1f="+code=list_size" class="s 1f">list_size6.a>)2<2.> 1f="fs/ext2/acl.c#L319" id> L319" class="line" namn> L319">o3196.a> a2.> 1f="+code=memcpy" class="s 1f">memcpy6.a>(a2.> 1f="+code=list" class="s 1f">list6.a>, a2.> 1f="+code=POSIX_ACL_XATTR_ACCESS" class="s 1f">POSIX_ACL_XATTR_ACCESS12a>, a2.> 1f="+code=size" class="s 1f">size12a>);t<2.> 1f="fs/ext2/acl.c#L320" id> L320" class="line" namn> L320">o3206.a> return a2.> 1f="+code=size" class="s 1f">size12a>;t<2.> 1f="fs/ext2/acl.c#L321" id> L321" class="line" namn> L321">o3216.a>}t<2.> 1f="fs/ext2/acl.c#L322" id> L322" class="line" namn> L322">o3226.a>t<2.> 1f="fs/ext2/acl.c#L323" id> L323" class="line" namn> L323">o3236.a>static a2.> 1f="+code=size_t" class="s 1f">size_t12a>2<2.> 1f="fs/ext2/acl.c#L324" id> L324" class="line" namn> L324">o3246.a>a2.> 1f="+code=ext2_xattr_list_acl_default" class="s 1f">ext2_xattr_list_acl_default6.a>(struct v2.> 1f="+code=dentry" class="s 1f">dentry12a> *v2.> 1f="+code=dentry" class="s 1f">dentry12a>, char *a2.> 1f="+code=list" class="s 1f">list6.a>, a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=list_size" class="s 1f">list_size6.a>,2<2.> 1f="fs/ext2/acl.c#L325" id> L325" class="line" namn> L325">o3256.a> const char *a2.> 1f="+code=namn" class="s 1f">namn6.a>, a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=namn_len" class="s 1f">namn_len6.a>, int v2.> 1f="+code=typn" class="s 1f">typn12a>)2<2.> 1f="fs/ext2/acl.c#L326" id> L326" class="line" namn> L326">o3266.a>{2<2.> 1f="fs/ext2/acl.c#L327" id> L327" class="line" namn> L327">o3276.a> const a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=size" class="s 1f">size12a> = sizeof(a2.> 1f="+code=POSIX_ACL_XATTR_DEFAULT" class="s 1f">POSIX_ACL_XATTR_DEFAULT12a>);t<2.> 1f="fs/ext2/acl.c#L328" id> L328" class="line" namn> L328">o32812a>t<2.> 1f="fs/ext2/acl.c#L329" id> L329" class="line" namn> L329">o3296.a> if (!a2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=dentry" class="s 1f">dentry12a>->a2.> 1f="+code=d_sb" class="s 1f">d_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>))2<2.> 1f="fs/ext2/acl.c#L330" id> L330" class="line" namn> L330">o3306.a> return 0;t<2.> 1f="fs/ext2/acl.c#L331" id> L331" class="line" namn> L331">o3316.a> if (v2.> 1f="+code=list" class="s 1f">list6.a> && a2.> 1f="+code=size" class="s 1f">size12a> <= v2.> 1f="+code=list_size" class="s 1f">list_size6.a>)2<2.> 1f="fs/ext2/acl.c#L332" id> L332" class="line" namn> L332">o3326.a> a2.> 1f="+code=memcpy" class="s 1f">memcpy6.a>(a2.> 1f="+code=list" class="s 1f">list6.a>, a2.> 1f="+code=POSIX_ACL_XATTR_DEFAULT" class="s 1f">POSIX_ACL_XATTR_DEFAULT12a>, a2.> 1f="+code=size" class="s 1f">size12a>);t<2.> 1f="fs/ext2/acl.c#L333" id> L333" class="line" namn> L333">o3336.a> return a2.> 1f="+code=size" class="s 1f">size12a>;t<2.> 1f="fs/ext2/acl.c#L334" id> L334" class="line" namn> L334">o3346.a>}t<2.> 1f="fs/ext2/acl.c#L335" id> L335" class="line" namn> L335">o33512a>t<2.> 1f="fs/ext2/acl.c#L336" id> L336" class="line" namn> L336">o3366.a>static int2<2.> 1f="fs/ext2/acl.c#L337" id> L337" class="line" namn> L337">o3376.a>v2.> 1f="+code=ext2_xattr_get_acl" class="s 1f">ext2_xattr_get_acl6.a>(struct v2.> 1f="+code=dentry" class="s 1f">dentry12a> *v2.> 1f="+code=dentry" class="s 1f">dentry12a>, const char *a2.> 1f="+code=namn" class="s 1f">namn6.a>, void *a2.> 1f="+code=buffer" class="s 1f">buffer6.a>,2<2.> 1f="fs/ext2/acl.c#L338" id> L338" class="line" namn> L338">o3386.a> a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=size" class="s 1f">size12a>, int v2.> 1f="+code=typn" class="s 1f">typn12a>)2<2.> 1f="fs/ext2/acl.c#L339" id> L339" class="line" namn> L339">o3396.a>{2<2.> 1f="fs/ext2/acl.c#L340" id> L340" class="line" namn> L340">o3406.a> struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *v2.> 1f="+code=acl" class="s 1f">acl12a>;t<2.> 1f="fs/ext2/acl.c#L341" id> L341" class="line" namn> L341">o3416.a> int v2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L342" id> L342" class="line" namn> L342">o3426.a>t<2.> 1f="fs/ext2/acl.c#L343" id> L343" class="line" namn> L343">o3436.a> if (v2.> 1f="+code=strcmp" class="s 1f">strcmp6.a>(a2.> 1f="+code=namn" class="s 1f">namn6.a>, aue=" class="string">"" 1f="fs/ext2/acl.c#L344" id> L344" class="line" namn> L344">o3446.a> return -a2.> 1f="+code=EINVAL" class="s 1f">EINVAL6.a>;t<2.> 1f="fs/ext2/acl.c#L345" id> L345" class="line" namn> L345">o3456.a> if (!a2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=dentry" class="s 1f">dentry12a>->a2.> 1f="+code=d_sb" class="s 1f">d_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>))2<2.> 1f="fs/ext2/acl.c#L346" id> L346" class="line" namn> L346">o3466.a> return -a2.> 1f="+code=EOPNOTSUPP" class="s 1f">EOPNOTSUPP12a>;t<2.> 1f="fs/ext2/acl.c#L347" id> L347" class="line" namn> L347">o34712a>t<2.> 1f="fs/ext2/acl.c#L348" id> L348" class="line" namn> L348">o3486.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=ext2_get_acl" class="s 1f">ext2_get_acl6.a>(a2.> 1f="+code=dentry" class="s 1f">dentry12a>->a2.> 1f="+code=d_inode" class="s 1f">d_inode12a>, a2.> 1f="+code=typn" class="s 1f">typn12a>);t<2.> 1f="fs/ext2/acl.c#L349" id> L349" class="line" namn> L349">o3496.a> if (a2.> 1f="+code=IS_ERR" class="s 1f">IS_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>))2<2.> 1f="fs/ext2/acl.c#L350" id> L350" class="line" namn> L350">o3506.a> return a2.> 1f="+code=PTR_ERR" class="s 1f">PTR_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L351" id> L351" class="line" namn> L351">o3516.a> if (v2.> 1f="+code=acl" class="s 1f">acl12a> == a2.> 1f="+code=NULL" class="s 1f">NULL12a>)2<2.> 1f="fs/ext2/acl.c#L352" id> L352" class="line" namn> L352">o3526.a> return -a2.> 1f="+code=ENODATA" class="s 1f">ENODATA12a>;t<2.> 1f="fs/ext2/acl.c#L353" id> L353" class="line" namn> L353">o3536.a> v2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=posix_acl_to_xattr" class="s 1f">posix_acl_to_xattr6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>, a2.> 1f="+code=buffer" class="s 1f">buffer6.a>, a2.> 1f="+code=size" class="s 1f">size12a>);t<2.> 1f="fs/ext2/acl.c#L354" id> L354" class="line" namn> L354">o3546.a> v2.> 1f="+code=posix_acl_release" class="s 1f">posix_acl_release6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L355" id> L355" class="line" namn> L355">o35512a>t<2.> 1f="fs/ext2/acl.c#L356" id> L356" class="line" namn> L356">o3566.a> return a2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L357" id> L357" class="line" namn> L357">o3576.a>}t<2.> 1f="fs/ext2/acl.c#L358" id> L358" class="line" namn> L358">o35812a>t<2.> 1f="fs/ext2/acl.c#L359" id> L359" class="line" namn> L359">o3596.a>static int2<2.> 1f="fs/ext2/acl.c#L360" id> L360" class="line" namn> L360">o3606.a>v2.> 1f="+code=ext2_xattr_set_acl" class="s 1f">ext2_xattr_set_acl6.a>(struct v2.> 1f="+code=dentry" class="s 1f">dentry12a> *v2.> 1f="+code=dentry" class="s 1f">dentry12a>, const char *a2.> 1f="+code=namn" class="s 1f">namn6.a>, const void *a2.> 1f="+code=ption" class="s 1f">ption6.a>,2<2.> 1f="fs/ext2/acl.c#L361" id> L361" class="line" namn> L361">o3616.a> a2.> 1f="+code=size_t" class="s 1f">size_t12a> v2.> 1f="+code=size" class="s 1f">size12a>, int v2.> 1f="+code=flags" class="s 1f">flags12a>, int v2.> 1f="+code=typn" class="s 1f">typn12a>)2<2.> 1f="fs/ext2/acl.c#L362" id> L362" class="line" namn> L362">o36212a>{2<2.> 1f="fs/ext2/acl.c#L363" id> L363" class="line" namn> L363">o3636.a> struct v2.> 1f="+code=posix_acl" class="s 1f">posix_acl12a> *v2.> 1f="+code=acl" class="s 1f">acl12a>;t<2.> 1f="fs/ext2/acl.c#L364" id> L364" class="line" namn> L364">o3646.a> int v2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L365" id> L365" class="line" namn> L365">o36512a>t<2.> 1f="fs/ext2/acl.c#L366" id> L366" class="line" namn> L366">o3666.a> if (v2.> 1f="+code=strcmp" class="s 1f">strcmp6.a>(a2.> 1f="+code=namn" class="s 1f">namn6.a>, aue=" class="string">"" 1f="fs/ext2/acl.c#L367" id> L367" class="line" namn> L367">o3676.a> return -a2.> 1f="+code=EINVAL" class="s 1f">EINVAL6.a>;t<2.> 1f="fs/ext2/acl.c#L368" id> L368" class="line" namn> L368">o3686.a> if (!a2.> 1f="+code=test_opt" class="s 1f">test_opt6.a>(a2.> 1f="+code=dentry" class="s 1f">dentry12a>->a2.> 1f="+code=d_sb" class="s 1f">d_sb12a>, a2.> 1f="+code=POSIX_ACL" class="s 1f">POSIX_ACL12a>))2<2.> 1f="fs/ext2/acl.c#L369" id> L369" class="line" namn> L369">o3696.a> return -a2.> 1f="+code=EOPNOTSUPP" class="s 1f">EOPNOTSUPP12a>;t<2.> 1f="fs/ext2/acl.c#L370" id> L370" class="line" namn> L370">o3706.a> if (!a2.> 1f="+code=inode_owner_or_capable" class="s 1f">inode_owner_or_capable6.a>(a2.> 1f="+code=dentry" class="s 1f">dentry12a>->a2.> 1f="+code=d_inode" class="s 1f">d_inode12a>))2<2.> 1f="fs/ext2/acl.c#L371" id> L371" class="line" namn> L371">o3716.a> return -a2.> 1f="+code=EPERM" class="s 1f">EPERM12a>;t<2.> 1f="fs/ext2/acl.c#L372" id> L372" class="line" namn> L372">o3726.a>t<2.> 1f="fs/ext2/acl.c#L373" id> L373" class="line" namn> L373">o3736.a> if (v2.> 1f="+code=ption" class="s 1f">ption6.a>) {2<2.> 1f="fs/ext2/acl.c#L374" id> L374" class="line" namn> L374">o3746.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=posix_acl_from_xattr" class="s 1f">posix_acl_from_xattr6.a>(a2.> 1f="+code=ption" class="s 1f">ption6.a>, a2.> 1f="+code=size" class="s 1f">size12a>);t<2.> 1f="fs/ext2/acl.c#L375" id> L375" class="line" namn> L375">o3756.a> if (v2.> 1f="+code=IS_ERR" class="s 1f">IS_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>))2<2.> 1f="fs/ext2/acl.c#L376" id> L376" class="line" namn> L376">o3766.a> return a2.> 1f="+code=PTR_ERR" class="s 1f">PTR_ERR6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L377" id> L377" class="line" namn> L377">o3776.a> else if (v2.> 1f="+code=acl" class="s 1f">acl12a>) {2<2.> 1f="fs/ext2/acl.c#L378" id> L378" class="line" namn> L378">o3786.a> v2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=posix_acl_ptiid" class="s 1f">posix_acl_ptiid6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L379" id> L379" class="line" namn> L379">o3796.a> if (v2.> 1f="+code=error" class="s 1f">error12a>)2<2.> 1f="fs/ext2/acl.c#L380" id> L380" class="line" namn> L380">o3806.a> goto v2.> 1f="+code=release_and_out" class="s 1f">release_and_out12a>;t<2.> 1f="fs/ext2/acl.c#L381" id> L381" class="line" namn> L381">o3816.a> }t<2.> 1f="fs/ext2/acl.c#L382" id> L382" class="line" namn> L382">o3826.a> } elset<2.> 1f="fs/ext2/acl.c#L383" id> L383" class="line" namn> L383">o3836.a> v2.> 1f="+code=acl" class="s 1f">acl12a> = a2.> 1f="+code=NULL" class="s 1f">NULL12a>;t<2.> 1f="fs/ext2/acl.c#L384" id> L384" class="line" namn> L384">o3846.a>t<2.> 1f="fs/ext2/acl.c#L385" id> L385" class="line" namn> L385">o3856.a> v2.> 1f="+code=error" class="s 1f">error12a> = v2.> 1f="+code=ext2_set_acl" class="s 1f">ext2_set_acl6.a>(a2.> 1f="+code=dentry" class="s 1f">dentry12a>->a2.> 1f="+code=d_inode" class="s 1f">d_inode12a>, a2.> 1f="+code=typn" class="s 1f">typn12a>, a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L386" id> L386" class="line" namn> L386">o38612a>t<2.> 1f="fs/ext2/acl.c#L387" id> L387" class="line" namn> L387">o3876.a>v2.> 1f="+code=release_and_out" class="s 1f">release_and_out12a>:2<2.> 1f="fs/ext2/acl.c#L388" id> L388" class="line" namn> L388">o3886.a> v2.> 1f="+code=posix_acl_release" class="s 1f">posix_acl_release6.a>(a2.> 1f="+code=acl" class="s 1f">acl12a>);t<2.> 1f="fs/ext2/acl.c#L389" id> L389" class="line" namn> L389">o3896.a> return a2.> 1f="+code=error" class="s 1f">error12a>;t<2.> 1f="fs/ext2/acl.c#L390" id> L390" class="line" namn> L390">o3906.a>}t<2.> 1f="fs/ext2/acl.c#L391" id> L391" class="line" namn> L391">o3916.a>t<2.> 1f="fs/ext2/acl.c#L392" id> L392" class="line" namn> L392">o3926.a>const struct v2.> 1f="+code=xattr_handler" class="s 1f">xattr_handler12a> v2.> 1f="+code=ext2_xattr_acl_access_handler" class="s 1f">ext2_xattr_acl_access_handler12a> = {2<2.> 1f="fs/ext2/acl.c#L393" id> L393" class="line" namn> L393">o3936.a> .v2.> 1f="+code=p 1fix" class="s 1f">p 1fix12a> = v2.> 1f="+code=POSIX_ACL_XATTR_ACCESS" class="s 1f">POSIX_ACL_XATTR_ACCESS12a>,2<2.> 1f="fs/ext2/acl.c#L394" id> L394" class="line" namn> L394">o3946.a> .v2.> 1f="+code=flags" class="s 1f">flags12a> = v2.> 1f="+code=ACL_TYPE_ACCESS" class="s 1f">ACL_TYPE_ACCESS6.a>,2<2.> 1f="fs/ext2/acl.c#L395" id> L395" class="line" namn> L395">o3956.a> .v2.> 1f="+code=list" class="s 1f">list6.a> = v2.> 1f="+code=ext2_xattr_list_acl_access" class="s 1f">ext2_xattr_list_acl_access6.a>,2<2.> 1f="fs/ext2/acl.c#L396" id> L396" class="line" namn> L396">o3966.a> .v2.> 1f="+code=get" class="s 1f">get6.a> = v2.> 1f="+code=ext2_xattr_get_acl" class="s 1f">ext2_xattr_get_acl6.a>,2<2.> 1f="fs/ext2/acl.c#L397" id> L397" class="line" namn> L397">o3976.a> .v2.> 1f="+code=set" class="s 1f">set6.a> = v2.> 1f="+code=ext2_xattr_set_acl" class="s 1f">ext2_xattr_set_acl6.a>,2<2.> 1f="fs/ext2/acl.c#L398" id> L398" class="line" namn> L398">o3986.a>};t<2.> 1f="fs/ext2/acl.c#L399" id> L399" class="line" namn> L399">o3996.a>t<2.> 1f="fs/ext2/acl.c#L400" id> L400" class="line" namn> L400">o4006.a>const struct v2.> 1f="+code=xattr_handler" class="s 1f">xattr_handler12a> v2.> 1f="+code=ext2_xattr_acl_default_handler" class="s 1f">ext2_xattr_acl_default_handler12a> = {2<2.> 1f="fs/ext2/acl.c#L401" id> L401" class="line" namn> L401">o4016.a> .v2.> 1f="+code=p 1fix" class="s 1f">p 1fix12a> = v2.> 1f="+code=POSIX_ACL_XATTR_DEFAULT" class="s 1f">POSIX_ACL_XATTR_DEFAULT12a>,2<2.> 1f="fs/ext2/acl.c#L402" id> L402" class="line" namn> L402">o4026.a> .v2.> 1f="+code=flags" class="s 1f">flags12a> = v2.> 1f="+code=ACL_TYPE_DEFAULT" class="s 1f">ACL_TYPE_DEFAULT6.a>,2<2.> 1f="fs/ext2/acl.c#L403" id> L403" class="line" namn> L403">o4036.a> .v2.> 1f="+code=list" class="s 1f">list6.a> = v2.> 1f="+code=ext2_xattr_list_acl_default" class="s 1f">ext2_xattr_list_acl_default6.a>,2<2.> 1f="fs/ext2/acl.c#L404" id> L404" class="line" namn> L404">o4046.a> .v2.> 1f="+code=get" class="s 1f">get6.a> = v2.> 1f="+code=ext2_xattr_get_acl" class="s 1f">ext2_xattr_get_acl6.a>,2<2.> 1f="fs/ext2/acl.c#L405" id> L405" class="line" namn> L405">o4056.a> .v2.> 1f="+code=set" class="s 1f">set6.a> = v2.> 1f="+code=ext2_xattr_set_acl" class="s 1f">ext2_xattr_set_acl6.a>,2<2.> 1f="fs/ext2/acl.c#L406" id> L406" class="line" namn> L406">o40612a>};t<2.> 1f="fs/ext2/acl.c#L407" id> L407" class="line" namn> L407">o40712a>a/p 1>a/div> a/div>