Module Name:    src
Committed By:   riastradh
Date:           Fri Dec  6 16:48:14 UTC 2024

Modified Files:
        src/sys/kern: exec_subr.c kern_exec.c

Log Message:
sys/kern/kern_exec.c, exec_*.c: Nix trailing whitespace.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/kern/exec_subr.c
cvs rdiff -u -r1.524 -r1.525 src/sys/kern/kern_exec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/exec_subr.c
diff -u src/sys/kern/exec_subr.c:1.90 src/sys/kern/exec_subr.c:1.91
--- src/sys/kern/exec_subr.c:1.90	Fri Dec  6 16:19:41 2024
+++ src/sys/kern/exec_subr.c	Fri Dec  6 16:48:13 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: exec_subr.c,v 1.90 2024/12/06 16:19:41 riastradh Exp $	*/
+/*	$NetBSD: exec_subr.c,v 1.91 2024/12/06 16:48:13 riastradh Exp $	*/
 
 /*
  * Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exec_subr.c,v 1.90 2024/12/06 16:19:41 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exec_subr.c,v 1.91 2024/12/06 16:48:13 riastradh Exp $");
 
 #include "opt_pax.h"
 
@@ -422,7 +422,7 @@ exec_setup_stack(struct lwp *l, struct e
 	    max_stack_size);
 
 	l->l_proc->p_stackbase = epp->ep_minsaddr;
-	
+
 	epp->ep_maxsaddr = (vaddr_t)STACK_GROW(epp->ep_minsaddr,
 	    max_stack_size);
 

Index: src/sys/kern/kern_exec.c
diff -u src/sys/kern/kern_exec.c:1.524 src/sys/kern/kern_exec.c:1.525
--- src/sys/kern/kern_exec.c:1.524	Fri Dec  6 16:19:41 2024
+++ src/sys/kern/kern_exec.c	Fri Dec  6 16:48:13 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_exec.c,v 1.524 2024/12/06 16:19:41 riastradh Exp $	*/
+/*	$NetBSD: kern_exec.c,v 1.525 2024/12/06 16:48:13 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2008, 2019, 2020 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.524 2024/12/06 16:19:41 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.525 2024/12/06 16:48:13 riastradh Exp $");
 
 #include "opt_exec.h"
 #include "opt_execfmt.h"
@@ -310,7 +310,7 @@ static struct pool_allocator exec_palloc
 
 static void
 exec_path_free(struct execve_data *data)
-{              
+{
 	pathbuf_stringcopy_put(data->ed_pathbuf, data->ed_pathstring);
 	pathbuf_destroy(data->ed_pathbuf);
 	if (data->ed_resolvedname)
@@ -2224,7 +2224,7 @@ handle_posix_spawn_attrs(struct posix_sp
 	sigact._sa_u._sa_handler = SIG_DFL;
 	sigact.sa_flags = 0;
 
-	/* 
+	/*
 	 * set state to SSTOP so that this proc can be found by pid.
 	 * see proc_enterprp, do_sched_setparam below
 	 */
@@ -2443,7 +2443,7 @@ posix_spawn_fae_path(struct posix_spawn_
 		return NULL;
 	}
 }
-    
+
 void
 posix_spawn_fa_free(struct posix_spawn_file_actions *fa, size_t len)
 {
@@ -2604,7 +2604,7 @@ do_posix_spawn(struct lwp *l1, pid_t *pi
 		error = SET_ERROR(ENOMEM);
 		goto error_exit;
 	}
-	
+
 	/*
 	 * Allocate new proc. Borrow proc0 vmspace for it, we will
 	 * replace it with its own before returning to userland
@@ -2867,7 +2867,7 @@ sys_posix_spawn(struct lwp *l1, const st
 		syscallarg(const struct posix_spawnattr *) attrp;
 		syscallarg(char *const *) argv;
 		syscallarg(char *const *) envp;
-	} */	
+	} */
 
 	int error;
 	struct posix_spawn_file_actions *fa = NULL;
@@ -2954,7 +2954,7 @@ dump_vmcmds(const struct exec_package * 
 	if (error == 0)
 		DPRINTF(("vmcmds %u\n", epp->ep_vmcmds.evs_used));
 	else
-		DPRINTF(("vmcmds %zu/%u, error %d\n", x, 
+		DPRINTF(("vmcmds %zu/%u, error %d\n", x,
 		    epp->ep_vmcmds.evs_used, error));
 
 	for (j = 0; j < epp->ep_vmcmds.evs_used; j++) {

Reply via email to