Re: kauth FILEOP_CLOSE_MODIFIED semantics for unexpectedly terminated processes.
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=BAeMaMOSb4vgwPsSNweH1n2F8MtuQFoVv5IxBRTI+9w=; b=Tj9C01iZL64RhIznsUpBRIko08X7PHwVr9CRAXDb6tKSsxulPEu5jROiEuoDEt9Kl2 ui8YShICZqKOle7NKDj/cvAj9UIJYcQRt3zWVXWE5BVzsZb0NWreex/T3AIZ0KZ/rW3T v/eHT8rFrpyXM8sRa7rtYWvyVWPrV/25RU3II= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=O49+mhPtPOCA/jH0olLGqmhikkNORWn2mXG84kDNbNV1UICCeOlT2HzE+bFPQIoPAF 5zSIxKmHZP2Wx6iLQ04QGbztEk3nTx+8lvmx8wPb55KxuglBqv3zBHLdkKBg/aNAKQXW cpV+vuEamdnlbk6SUlmRYOGB+IfE1OAmRe3xs= 2008/7/11 Quinn <eskimo1@apple.com>:
At 12:13 +0400 11/7/08, Maxim Zhuravlev wrote:
I've been explorering the kauth FILEOP scope and found out, that for unexpectedly terminated or exit()'d process, which hadn't explicitly closed a file handle it was writing to, a KAUTH_FILEOP_CLOSE notification with KAUTH_FILEOP_CLOSE_MODIFIED flag set isn't issued. This happens, cause exit() closes all handles bypassing close() syscall, which actually checks flags and issues that kind of notifications.
I would classify that as a bug. I encourage you to file it. Please post the bug number so that I can keep an eye on it.
Bug ID: 6069147 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Maxim Zhuravlev