Welcome! Log In Create A New Profile

Advanced

Re: ngx_execute_proc

Tolga Ceylan
August 22, 2015 06:58PM
On Sat, Aug 22, 2015 at 8:38 AM, Ricardo Iramar dos Santos
<riramar@gmail.com> wrote:
> Hi All,
>
> This is my first post so take easy on me. :)
> I'm doing a security research about HTTP(S) web servers and I'm trying
> to understand a little bit of nginx source code.
> In my research I need to understand how the function ngx_execute_proc
> works and in which use cases this function is invoked.
> I tried to read the source code to understand but I'm not familiar
> with nginx source code and there's no much comments on it.
> I tried to find a specific material about the source code using google
> or the resource pages but I couldn't find.
> Is there any material that I can read and get a better understand of
> how ngx_execute_proc works and in which use cases this function is
> invoked?
>
> Thanks in advanced!
> Ricardo Iramar
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel

AFAIK, ngx_execute_proc usage is limited to new binary swap (upgrading
nginx binary.)

See ngx_exec_new_binary() which will eventually invoke
ngx_execute_proc() which is a
wrapper over execve.

For more info:

http://wiki.nginx.org/CommandLine#Upgrading_To_a_New_Binary_On_The_Fly

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

ngx_execute_proc

Ricardo Iramar dos Santos 701 August 22, 2015 11:40AM

Re: ngx_execute_proc

Tolga Ceylan 280 August 22, 2015 06:58PM

Re: ngx_execute_proc

Ricardo Iramar dos Santos 396 August 23, 2015 02:40PM

Re: ngx_execute_proc

Tolga Ceylan 289 August 24, 2015 02:56PM

Re: ngx_execute_proc

Ricardo Iramar dos Santos 349 August 25, 2015 08:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 86
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready