<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>150732</bug_id>
          
          <creation_ts>2015-10-30 13:27:41 -0700</creation_ts>
          <short_desc>Use convenience function in sandbox profile</short_desc>
          <delta_ts>2015-11-01 17:02:22 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brent Fulgham">bfulgham</reporter>
          <assigned_to name="Brent Fulgham">bfulgham</assigned_to>
          <cc>andersca</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1137941</commentid>
    <comment_count>0</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-10-30 13:27:41 -0700</bug_when>
    <thetext>This bug cleans up one of the sandbox profiles by using a convenience function to define the proper logging setup, rather than manually specifying each piece of the log directory permissions required.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137942</commentid>
    <comment_count>1</comment_count>
      <attachid>264412</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-10-30 13:36:30 -0700</bug_when>
    <thetext>Created attachment 264412
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137943</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-10-30 13:37:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/23287894&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1137947</commentid>
    <comment_count>3</comment_count>
      <attachid>264412</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2015-10-30 13:42:20 -0700</bug_when>
    <thetext>Comment on attachment 264412
Patch

Is awd-log-directory available on older OS&apos;s?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1138002</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-10-30 15:30:44 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Comment on attachment 264412 [details]
&gt; Patch
&gt; 
&gt; Is awd-log-directory available on older OS&apos;s?

This profile is only used on iOS. The function was added in iOS 9, so it&apos;s really only usable on current builds. But I&apos;m not sure if we support building WebKit on older iOS revisions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1138110</commentid>
    <comment_count>5</comment_count>
      <attachid>264412</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-10-30 20:35:14 -0700</bug_when>
    <thetext>Comment on attachment 264412
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=264412&amp;action=review

&gt; Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:-84
&gt; -(allow mach-lookup (global-name &quot;com.apple.awdd&quot;))

Is this unnecessary?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1138403</commentid>
    <comment_count>6</comment_count>
      <attachid>264412</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2015-11-01 15:51:26 -0800</bug_when>
    <thetext>Comment on attachment 264412
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=264412&amp;action=review

&gt;&gt; Source/WebKit2/Resources/SandboxProfiles/ios/com.apple.WebKit.WebContent.sb:-84
&gt;&gt; -(allow mach-lookup (global-name &quot;com.apple.awdd&quot;))
&gt; 
&gt; Is this unnecessary?

It&apos;s done as part of the (awd-log-directory ...) function.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1138424</commentid>
    <comment_count>7</comment_count>
      <attachid>264412</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-11-01 17:02:19 -0800</bug_when>
    <thetext>Comment on attachment 264412
Patch

Clearing flags on attachment: 264412

Committed r191872: &lt;http://trac.webkit.org/changeset/191872&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1138425</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-11-01 17:02:22 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>264412</attachid>
            <date>2015-10-30 13:36:30 -0700</date>
            <delta_ts>2015-11-01 17:02:19 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-150732-20151030133537.patch</filename>
            <type>text/plain</type>
            <size>1457</size>
            <attacher name="Brent Fulgham">bfulgham</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE5MTgwOSkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE1LTEwLTMwICBCcmVudCBG
dWxnaGFtICA8YmZ1bGdoYW1AYXBwbGUu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