Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2015 11:49:53 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        Ed Schouten <ed@FreeBSD.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r286323 - head/sys/compat/cloudabi
Message-ID:  <55C23EB1.20903@FreeBSD.org>
In-Reply-To: <201508051615.t75GFhdD003652@repo.freebsd.org>
References:  <201508051615.t75GFhdD003652@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C23EB1.20903>