[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT PATCH 3/3] lib/posix-process: Add prctl stub



Thanks, Mihai!

Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 10/27/19 10:15 PM, Mihai Pogonaru wrote:
> Signed-off-by: Mihai Pogonaru <pogonarumihai@xxxxxxxxx>
> ---
>  lib/posix-process/process.c | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/lib/posix-process/process.c b/lib/posix-process/process.c
> index 73d214fe..78c2f385 100644
> --- a/lib/posix-process/process.c
> +++ b/lib/posix-process/process.c
> @@ -38,6 +38,7 @@
>  #include <errno.h>
>  #include <stdlib.h>
>  #include <stdio.h>
> +#include <sys/prctl.h>
>  #include <sys/resource.h>
>  #include <uk/print.h>
>  
> @@ -234,3 +235,9 @@ int setpriority(int which __unused, id_t who __unused, 
> int prio __unused)
>       WARN_STUBBED();
>       return 0;
>  }
> +
> +int prctl(int option __unused, ...)
> +{
> +     WARN_STUBBED();
> +     return 0;
> +}
> 

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.