• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Working of KAUTH_FILEOP_CLOSE_MODIFIED flag in KAUTH_FILEOP_CLOSE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Working of KAUTH_FILEOP_CLOSE_MODIFIED flag in KAUTH_FILEOP_CLOSE


  • Subject: Working of KAUTH_FILEOP_CLOSE_MODIFIED flag in KAUTH_FILEOP_CLOSE
  • From: sheetal phirke <email@hidden>
  • Date: Thu, 28 Apr 2011 12:41:18 +0530 (IST)

Hello All,



I am interested in the KAUTH_FILEOP_CLOSE action of FIle Operation Scope. As mentioned in Technical article we get KAUTH_FILEOP_CLOSE_MODIFIED flag which is set if a modified file is being closed. 

I have tested in KAUTH_SCOPE_FILEOP scope but I didn't get KAUTH_FILEOP_CLOSE_MODIFIED flag set when I closed the file which I have  modified. For testing I open the file in TextEdit, change data & then close the file. Also I wrote test app which opens the file, writes some data & then closes it.



My question is when exactly is the KAUTH_FILEOP_CLOSE_MODIFIED flag set. Am I missing out on something significant.



Thanks,

Sheetal.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: posix_memalign(&ptr, 32, 0 fails)
  • Next by Date: Share a semaphore between process and a kernel task.
  • Previous by thread: Re: v_iocount and cache_lookup()
  • Next by thread: Share a semaphore between process and a kernel task.
  • Index(es):
    • Date
    • Thread