Re: Introduction to posix_spawn/chdir

2021-07-14 Thread Piyush Sachdeva
On Fri, Jul 9, 2021 at 11:00 PM Piyush Sachdeva wrote: > Progress Update 3 (week 5) > In the last two weeks, I worked on the test cases, documentation and > also tried to build the kernel. > > The test cases have been completed, and the man page for > posix_spawn_file_actions_addchdir() is also

Re: Introduction to posix_spawn/chdir

2021-07-09 Thread Piyush Sachdeva
On Fri, Jun 25, 2021 at 9:03 PM Piyush Sachdeva wrote: > Progress Update 2 (Week 3) > Close to the end of Week 3, I would like to update that > I have completed the code modifications that were required in the kernel > space. > src/sys/kern/kern_exec.c , src/sys/kern/vfs_syscalls.c , >

Re: Introduction to posix_spawn/chdir

2021-06-27 Thread Chris Hanson
On Jun 27, 2021, at 1:39 AM, Piyush Sachdeva wrote: > > On Sun, Jun 27, 2021 at 1:15 PM Chris Hanson > wrote: >> What are the straightforward changes needed to implement this minor >> addition? That’s all I’m wondering. >> >> Let’s say I wanted to add something like xnu’s >>

Re: Introduction to posix_spawn/chdir

2021-06-27 Thread Piyush Sachdeva
On Sun, Jun 27, 2021 at 1:15 PM Chris Hanson wrote: > What are the straightforward changes needed to implement this minor addition? > That’s all I’m wondering. > > Let’s say I wanted to add something like xnu’s > posix_spawn_file_attr_addinherit_np(). I’d hope that the plan for chdir would >

Re: Introduction to posix_spawn/chdir

2021-06-27 Thread Chris Hanson
On Jun 27, 2021, at 12:20 AM, Martin Husemann wrote: > > On Sat, Jun 26, 2021 at 03:02:35PM -0700, Chris Hanson wrote: >> That's great, I'm more curious about the implementation plan. > > I would understand this question if we were talking about implementing > posix_spawn from scratch, but we

Re: Introduction to posix_spawn/chdir

2021-06-27 Thread Martin Husemann
On Sat, Jun 26, 2021 at 03:02:35PM -0700, Chris Hanson wrote: > That's great, I'm more curious about the implementation plan. I would understand this question if we were talking about implementing posix_spawn from scratch, but we have that since 6.0 and the "plan" is to enhance the exisiting

Re: Introduction to posix_spawn/chdir

2021-06-26 Thread Chris Hanson
On Jun 25, 2021, at 9:57 PM, Martin Husemann wrote: > > On Fri, Jun 25, 2021 at 02:45:59PM -0700, Chris Hanson wrote: >> Also, exactly what form will posix_spawn chdir support take in your project? > > I'm not sure I understand the question correctly. > > There is an upcoming change for the

Re: Introduction to posix_spawn/chdir

2021-06-25 Thread Martin Husemann
On Fri, Jun 25, 2021 at 02:45:59PM -0700, Chris Hanson wrote: > Also, exactly what form will posix_spawn chdir support take in your project? I'm not sure I understand the question correctly. There is an upcoming change for the next version of Posix in the Austin Group's bug tracker and the

Re: Introduction to posix_spawn/chdir

2021-06-25 Thread Chris Hanson
Also, exactly what form will posix_spawn chdir support take in your project? Have you provided an implementation plan somewhere? I read the first blogpost as more of a rationale than a plan. — Chris

Re: Introduction to posix_spawn/chdir

2021-06-25 Thread Chris Hanson
On Jun 25, 2021, at 8:33 AM, Piyush Sachdeva wrote: > > In the matter of organising my repository (pointed out by Christos Zoulas), > I have mirrored The NetBSD source in my github repository as a separate > branch. > However, I am using a main branch as a staging area for the TNF mirror, >

Re: Introduction to posix_spawn/chdir

2021-06-25 Thread Piyush Sachdeva
On Mon, Jun 14, 2021 at 6:17 PM Piyush Sachdeva wrote: > > >Progress Update 1 (Week 2)- > >Contrary to the timeline provided, I started working within the user-land. > >(src/lib/libc/gen/posix_spawn_fileactions.c, src/include/spawn.h, > >src/sys/sys/spawn.h > >The modifications made to the files

Re: Introduction to posix_spawn/chdir

2021-06-14 Thread Christos Zoulas
In article , Piyush Sachdeva wrote: >On Fri, Jun 11, 2021 at 1:10 AM Piyush Sachdeva > wrote: >> >> To whomever it may concern, >> Hi, I am Piyush Sachdeva. >> I am doing an "unofficial GSoC Project" to enhance the posix_spawn() >system call. >> Check out my blogpost for more details. >> >> I

Re: Introduction to posix_spawn/chdir

2021-06-14 Thread Piyush Sachdeva
On Fri, Jun 11, 2021 at 1:10 AM Piyush Sachdeva wrote: > > To whomever it may concern, > Hi, I am Piyush Sachdeva. > I am doing an "unofficial GSoC Project" to enhance the posix_spawn() system > call. > Check out my blogpost for more details. > > I will ask questions here and report my progress

Introduction to posix_spawn/chdir

2021-06-10 Thread Piyush Sachdeva
To whomever it may concern, Hi, I am Piyush Sachdeva. I am doing an "unofficial GSoC Project" to enhance the posix_spawn() system call. Check out my blogpost for more details. I will ask questions here and report my progress during this