svn commit: r286323 - head/sys/compat/cloudabi

Pedro Giffuni pfg at FreeBSD.org
Wed Aug 5 16:49:53 UTC 2015


Hi Ed;

This just reminded me:

Clang has support for type-safety attributes[1] for fcntl and ioctls.

I gave them a try[2] but they broke compatibility.
For a clean ABI you should consider them.

Best regards,

Pedro.


[1]
http://clang.llvm.org/docs/AttributeReference.html#type-safety-checking
[2]
https://reviews.freebsd.org/D2411


On 08/05/15 11:15, Ed Schouten wrote:
> Author: ed
> Date: Wed Aug  5 16:15:43 2015
> New Revision: 286323
> URL: https://svnweb.freebsd.org/changeset/base/286323
>
> Log:
>    Make fcntl(F_SETFL) work.
>
>    The stat_put() system call can be used to modify file descriptor
>    attributes, such as flags, but also Capsicum permission bits. Support
>    for changing Capsicum bits will be added as soon as its dependent
>    changes have been pushed through code review.
>
>    Obtained from:	https://github.com/NuxiNL/freebsd
>


More information about the svn-src-head mailing list