Author: kib
Date: Thu Apr 12 13:40:02 2018
New Revision: 332428
URL: https://svnweb.freebsd.org/changeset/base/332428

Log:
  MFC r332061:
  Fix ERESTART for lcall $7,$0 syscalls.

Modified:
  stable/11/sys/amd64/ia32/ia32_syscall.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/amd64/ia32/ia32_syscall.c
==============================================================================
--- stable/11/sys/amd64/ia32/ia32_syscall.c     Thu Apr 12 13:39:01 2018        
(r332427)
+++ stable/11/sys/amd64/ia32/ia32_syscall.c     Thu Apr 12 13:40:02 2018        
(r332428)
@@ -144,6 +144,7 @@ ia32_fetch_syscall_args(struct thread *td)
                frame->tf_rip = eip;
                frame->tf_cs = cs;
                frame->tf_rsp += 2 * sizeof(u_int32_t);
+               frame->tf_err = 7;              /* size of lcall $7,$0 */
        }
 #endif
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to