This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] posix: Add missing nonnull attributes and __restrict qualifiers
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Sat, 02 Feb 2019 16:31:06 +0100
- Subject: Re: [PATCH] posix: Add missing nonnull attributes and __restrict qualifiers
- References: <87lg51cm9l.fsf@oldenburg2.str.redhat.com>
* Florian Weimer:
> For consistency with execve, the __envp arguments are not marked
> nonnull.
>
> 2018-12-07 Florian Weimer <fweimer@redhat.com>
>
> * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
> (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
> (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
> Likewise.
> (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
> (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
> (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
> (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
> Likewise.
> (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
> Likewise.
> (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
> Likewise.
> (posix_spawn_file_actions_addopen): Likewise.
> (posix_spawn_file_actions_addclose): Likewise.
> (posix_spawn_file_actions_adddup2): Likewise.
> (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
> qualifiers.
> (posix_spawn_file_actions_addfchdir_np): Likewise.
Ping? <https://sourceware.org/ml/libc-alpha/2018-12/msg00246.html>
Thanks,
Florian