[ovs-dev] [PATCH 2/8] lib/daemon: support --user option for all OVS daemon

Russell Bryant rbryant at redhat.com
Thu Oct 1 15:21:53 UTC 2015


On 09/22/2015 08:51 PM, Andy Zhou wrote:
> OVS daemons can now support --user option to run as a non-root
> user with less privileges.
> 
> See the manpage patch for more descriptions.
> 
> Signed-off-by: Andy Zhou <azhou at nicira.com>

FYI, this patch series seems to break the build for me.

With clang:

> lib/daemon-unix.c:858:13: error: implicit declaration of function 'daemon_become_new_user_linux' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>             daemon_become_new_user_linux(access_datapath);
>             ^
> lib/daemon-unix.c:858:13: note: did you mean 'daemon_become_new_user_unix'?
> lib/daemon-unix.c:785:1: note: 'daemon_become_new_user_unix' declared here
> daemon_become_new_user_unix(void)
> ^

With gcc:

> lib/daemon-unix.c: In function 'daemon_become_new_user__':
> lib/daemon-unix.c:858:13: error: implicit declaration of function 'daemon_become_new_user_linux' [-Werror=implicit-function-declaration]
>              daemon_become_new_user_linux(access_datapath);
>              ^

-- 
Russell Bryant



More information about the dev mailing list