From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Goldstein Subject: Re: [PATCH 1/4] xen/errno: Introduce EISDIR/EROFS/ENOTEMPTY to the ABI Date: Tue, 1 Mar 2016 20:37:49 -0600 Message-ID: <56D651FD.2090805@cardoe.com> References: <1456858641-20776-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6923242093386764373==" Return-path: In-Reply-To: <1456858641-20776-1-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Andrew Cooper , Xen-devel Cc: Tim Deegan , Jan Beulich List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============6923242093386764373== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JBDRX3GDWMmNnFVvLVxoBkrDNFlRcSiU7" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JBDRX3GDWMmNnFVvLVxoBkrDNFlRcSiU7 Content-Type: multipart/mixed; boundary="MJJrsS8OVhi3mOcVCghWoqdedEMtP9i7U" From: Doug Goldstein To: Andrew Cooper , Xen-devel Cc: Jan Beulich , Tim Deegan Message-ID: <56D651FD.2090805@cardoe.com> Subject: Re: [PATCH 1/4] xen/errno: Introduce EISDIR/EROFS/ENOTEMPTY to the ABI References: <1456858641-20776-1-git-send-email-andrew.cooper3@citrix.com> In-Reply-To: <1456858641-20776-1-git-send-email-andrew.cooper3@citrix.com> --MJJrsS8OVhi3mOcVCghWoqdedEMtP9i7U Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 3/1/16 12:57 PM, Andrew Cooper wrote: > These POSIX errnos are expected by other areas of the Xen public interf= ace, > specifically public/io/xs_wire.h >=20 > Signed-off-by: Andrew Cooper Reviewed-by: Doug Goldstein > --- > CC: Jan Beulich > CC: Tim Deegan > CC: Doug Goldstein > --- > xen/include/public/errno.h | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/xen/include/public/errno.h b/xen/include/public/errno.h > index 8c88bb1..c3481a5 100644 > --- a/xen/include/public/errno.h > +++ b/xen/include/public/errno.h > @@ -49,16 +49,19 @@ XEN_ERRNO(EBUSY, 16) /* Device or resource busy */ > XEN_ERRNO(EEXIST, 17) /* File exists */ > XEN_ERRNO(EXDEV, 18) /* Cross-device link */ > XEN_ERRNO(ENODEV, 19) /* No such device */ > +XEN_ERRNO(EISDIR, 21) /* Is a directory */ > XEN_ERRNO(EINVAL, 22) /* Invalid argument */ > XEN_ERRNO(ENFILE, 23) /* File table overflow */ > XEN_ERRNO(EMFILE, 24) /* Too many open files */ > XEN_ERRNO(ENOSPC, 28) /* No space left on device */ > +XEN_ERRNO(EROFS, 30) /* Read-only file system */ > XEN_ERRNO(EMLINK, 31) /* Too many links */ > XEN_ERRNO(EDOM, 33) /* Math argument out of domain of func */ > XEN_ERRNO(ERANGE, 34) /* Math result not representable */ > XEN_ERRNO(EDEADLK, 35) /* Resource deadlock would occur */ > XEN_ERRNO(ENAMETOOLONG, 36) /* File name too long */ > XEN_ERRNO(ENOLCK, 37) /* No record locks available */ > +XEN_ERRNO(ENOTEMPTY, 39) /* Directory not empty */ > XEN_ERRNO(ENOSYS, 38) /* Function not implemented */ > XEN_ERRNO(ENODATA, 61) /* No data available */ > XEN_ERRNO(ETIME, 62) /* Timer expired */ >=20 --=20 Doug Goldstein --MJJrsS8OVhi3mOcVCghWoqdedEMtP9i7U-- --JBDRX3GDWMmNnFVvLVxoBkrDNFlRcSiU7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJW1lIAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvU6ZkP/iZu8UOYeoXRYhLuFiIkSvY4 TpUPW3dOxbp9JZ5YM0J26vV6USg4onmd0yoHiAAKhdJkeZuTVmlvdIbpIDd7+aAa zkRcDb150uT0VQ73BNN5yTmefVuvqczmopBNyxhmIy/BbWReHDB+cVbpdIgLpo9B wc2URN9mY4RxbsQMvhqJ1vwcc5oNLxoCVIfdnXc27kHjDR1V+OSRYU/JeqeLjE/B ++7QbehKW01Dk8vXCa/8lLV76U+6/t5vqD2e0o4PB6xMaNBREDmVTOw9KhXTht2K I3xTR7KMRSOiGTMVoN8XnqsT3V6R9j4KSgTj7zHzh/h8m1XYfiiiHZOrFmoGnLyK IpPFyNj3EaGUulm1IwTHgTQpgl7nmj3kf3hqExlMWkAGAu4te7VXB7w9T7poWm66 4GYk6cWY4EsYA4eG70qv0m5Y/BQNGjmJ+vf1gihfVnAb2cgpKJfDrGgPPtR2D2HB 32Hbad5b/zFZTtTCjN07xRtVzeNB5HSK1xwAwoDGPLpsM7Tskfd5FjezMhz4wXvP zl+sI13LPnLxsE4Fra4h2/sbmJC97XZQ7ED59AQ0Z4CJ9gQgObnNcKpf3H1aR6Wl nu7YGnjSXk+VDwqWJUX/lASvhdnG20GL07UF0MUHMPxYMvCZ47uCsOk4fNNPwmo0 smNhD1wC3eHRf9uy923j =/trj -----END PGP SIGNATURE----- --JBDRX3GDWMmNnFVvLVxoBkrDNFlRcSiU7-- --===============6923242093386764373== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============6923242093386764373==--