• 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: Prevent SIGKILL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent SIGKILL


  • Subject: Re: Prevent SIGKILL
  • From: Michael Smith <email@hidden>
  • Date: Thu, 26 Mar 2009 22:39:06 -0700


On Mar 26, 2009, at 12:08 AM, Jainish Jain wrote:

I want to make a Client-Server Application in which once a client Application is connected to Server, user at client side should not be able to terminate it unless permission is given by server.

This is usually a crutch for a badly designed client/server protocol, or a badly implemented server.  If you find yourself wanting this behaviour in your software, it's time to stop and re-evaluate your design, because you are in trouble.

Even if you were to remove the administrative ability for a user to terminate a task they had created, there are many other ways in which such a task may be terminated, and you must be robust in the face of such an event.

I have trapped all other signals but not able to find a way to prevent SIGKILL to my Application ?
Is there any way in which my Application not launched as Startup process can prevent SIGKILL

No.  The system reserves the right to mark for termination any process at any time, and it grants the creator of the process that right unconditionally.

 = Mike

 _______________________________________________
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

References: 
 >Prevent SIGKILL (From: Jainish Jain <email@hidden>)

  • Prev by Date: how to handle 64-bit memory address(from 64-bit application) in 32-bit kernel extension
  • Next by Date: What if process crashes while holding a locked semaphore?
  • Previous by thread: Re: Prevent SIGKILL
  • Next by thread: how to handle 64-bit memory address(from 64-bit application) in 32-bit kernel extension
  • Index(es):
    • Date
    • Thread