Searched refs:pidfile (Results 1 – 2 of 2) sorted by relevance
132 static void daemonize(char *rundir, char *pidfile) argument189 pid_file_handle = open(pidfile, O_RDWR | O_CREAT, 0600);
2000 struct file *pidfile = NULL; in copy_process() local2292 pidfile = anon_inode_getfile("[pidfd]", &pidfd_fops, pid, in copy_process()2294 if (IS_ERR(pidfile)) { in copy_process()2296 retval = PTR_ERR(pidfile); in copy_process()2485 if (pidfile) in copy_process()2486 fd_install(pidfd, pidfile); in copy_process()2507 fput(pidfile); in copy_process()