Newer
Older
ubixos / sys / kernel / execve.c
@Charlie Root Charlie Root on 3 Jan 2018 264 bytes Stack Pointer Is Not Right
#include <lib/kprintf.h>
#include <sys/thread.h>
#include <sys/sysproto.h>

int sys_execve( struct thread *td, struct sys_execve_args *args ) {
  int ret = sys_exec( td, args->fname, args->argv, args->envp );
  kprintf("RETURNING: [%i]\n", ret);
  return (ret);
}