• 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
Re: kqueue and kevent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kqueue and kevent


  • Subject: Re: kqueue and kevent
  • From: Kyle Sluder <email@hidden>
  • Date: Sun, 13 Mar 2011 18:17:40 -0700

On Sun, Mar 13, 2011 at 4:48 PM, Jeffrey Walton <email@hidden> wrote:
> Be careful of this sort of functionality, especially when an adversary
> controls the event. In essence, the event should be consider
> "untrusted user input".

Unless I'm missing something, I don't see how this is any more
dangerous than calling select(2).

I mean, yes, if someone writes to a pipe, and you read from it, then
you'll read what they wrote. The same caution applies to any external
data: sockets, files on disk, shared memory…

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >kqueue and kevent (From: Abhinav Tyagi <email@hidden>)
 >Re: kqueue and kevent (From: Dave Keck <email@hidden>)
 >Re: kqueue and kevent (From: Jeffrey Walton <email@hidden>)

  • Prev by Date: Re: kqueue and kevent
  • Next by Date: Re: SDK 10.6 with Target 10.5
  • Previous by thread: Re: kqueue and kevent
  • Next by thread: Re: Core Data Intermittently Blocked Over AFP? (Steve Steinitz)
  • Index(es):
    • Date
    • Thread