summaryrefslogtreecommitdiffstats
path: root/sys/alpha/osf1/imgact_osf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/osf1/imgact_osf1.c')
-rw-r--r--sys/alpha/osf1/imgact_osf1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/alpha/osf1/imgact_osf1.c b/sys/alpha/osf1/imgact_osf1.c
index d633182..5db50d0 100644
--- a/sys/alpha/osf1/imgact_osf1.c
+++ b/sys/alpha/osf1/imgact_osf1.c
@@ -112,7 +112,7 @@ exec_osf1_imgact(struct image_params *imgp)
printf("unknown ecoff magic %x\n", eap->magic);
return ENOEXEC;
}
- osf_auxargs = malloc(sizeof(Osf_Auxargs), M_TEMP, M_WAITOK | M_ZERO);
+ osf_auxargs = malloc(sizeof(Osf_Auxargs), M_TEMP, M_ZERO);
imgp->auxargs = osf_auxargs;
osf_auxargs->executable = osf_auxargs->exec_path;
path_not_saved = copyinstr(imgp->fname, osf_auxargs->executable,
@@ -135,7 +135,7 @@ exec_osf1_imgact(struct image_params *imgp)
* page of the loader.
*/
ndp = (struct nameidata *)malloc(sizeof(struct nameidata),
- M_TEMP, M_WAITOK);
+ M_TEMP, 0);
NDINIT(ndp, LOOKUP, LOCKLEAF | FOLLOW | SAVENAME, UIO_SYSSPACE,
"/compat/osf1/sbin/loader",
FIRST_THREAD_IN_PROC(imgp->proc));
@@ -218,7 +218,7 @@ exec_osf1_imgact(struct image_params *imgp)
raw_dend = (eap->data_start + eap->dsize);
if (dend > raw_dend) {
caddr_t zeros;
- zeros = malloc(dend-raw_dend,M_TEMP,M_WAITOK|M_ZERO);
+ zeros = malloc(dend-raw_dend, M_TEMP, M_ZERO);
if ((error = copyout(zeros, (caddr_t)raw_dend,
dend-raw_dend))) {
uprintf("Can't zero start of bss, error %d\n",error);
OpenPOWER on IntegriCloud