Update to FreeBSD head 2019-09-24

Git mirror commit 6b0307a0a5184339393f555d5d424190d8a8277a.
This commit is contained in:
Sebastian Huber
2019-09-24 11:05:03 +02:00
parent 83afe13399
commit a5ddb0ea69
903 changed files with 39332 additions and 17958 deletions

View File

@@ -51,6 +51,7 @@ __BEGIN_DECLS
static __inline int
caph_limit_stream(int fd, int flags)
{
#ifndef __rtems__
cap_rights_t rights;
unsigned long cmds[] = { TIOCGETA, TIOCGWINSZ, FIODTYPE };
@@ -75,6 +76,7 @@ caph_limit_stream(int fd, int flags)
if (cap_fcntls_limit(fd, CAP_FCNTL_GETFL) < 0 && errno != ENOSYS)
return (-1);
#endif /* __rtems__ */
return (0);
}
@@ -123,7 +125,9 @@ static __inline void
caph_cache_catpages(void)
{
#ifndef __rtems__
(void)catopen("libc", NL_CAT_LOCALE);
#endif /* __rtems__ */
}
static __inline int