Date: Tue, 29 Apr 2003 12:09:32 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 30038 for review Message-ID: <200304291909.h3TJ9WWw075846@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30038 Change 30038 by peter@peter_daintree on 2003/04/29 12:08:46 Can't use %rdx for fiddling with PSL_T, because %rdx is the third register arg for the call, which clobbers the 'env' argument to exect() Affected files ... .. //depot/projects/hammer/lib/libc/x86_64/sys/exect.S#4 edit Differences ... ==== //depot/projects/hammer/lib/libc/x86_64/sys/exect.S#4 (text+ko) ==== @@ -46,9 +46,9 @@ ENTRY(exect) movq $SYS_execve,%rax pushfq - popq %rdx - orq $ PSL_T,%rdx - pushq %rdx + popq %r8 + orq $PSL_T,%r8 + pushq %r8 popfq KERNCALL jmp PIC_PLT(HIDENAME(cerror)) /* exect(file, argv, env); */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304291909.h3TJ9WWw075846>