mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 18:28:54 -04:00
Merge branch '4134-zonefile-erofs' into 'main'
Translate POSIX errorcode EROFS to ISC_R_NOPERM Closes #4134 See merge request isc-projects/bind9!8017
This commit is contained in:
commit
68cfbd2bd1
2 changed files with 5 additions and 0 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
6196. [cleanup] Report "permission denied" instead of "unexpected error"
|
||||
when trying to update a zone file on a read-only file
|
||||
system. Thanks to Midnight Veil. [GL #4134]
|
||||
|
||||
6195. [bug] Use rcu to reference view->adb. [GL #4021]
|
||||
|
||||
6194. [func] Change function 'find_zone_keys()' to look for signing
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ isc___errno2result(int posixerrno, bool dolog, const char *file,
|
|||
return (ISC_R_FILENOTFOUND);
|
||||
case EACCES:
|
||||
case EPERM:
|
||||
case EROFS:
|
||||
return (ISC_R_NOPERM);
|
||||
case EEXIST:
|
||||
return (ISC_R_FILEEXISTS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue