hi, have you checked callers and ensure that the change from EACCES to EPERM won't be a problem?
YAMAMOTO Takashi > Module Name: src > Committed By: elad > Date: Thu May 7 21:51:47 UTC 2009 > > Modified Files: > src/sys/netinet6: ip6_output.c ipsec.c > > Log Message: > Remove some more "priv" variable usage in favor of kauth(9) calls. > > > To generate a diff of this commit: > cvs rdiff -u -r1.138 -r1.139 src/sys/netinet6/ip6_output.c > cvs rdiff -u -r1.141 -r1.142 src/sys/netinet6/ipsec.c > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files.