NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/55249: lib/libi386/t_user_ldt tests failing since inception



The following reply was made to PR lib/55249; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: maxv%NetBSD.org@localhost
Subject: Re: lib/55249: lib/libi386/t_user_ldt tests failing since inception
Date: Sat, 9 May 2020 10:29:27 +0200

   2409   2409 t_user_ldt NAMI  "/usr/tests/lib/libi386/t_user_ldt"
   2409   2409 t_user_ldt RET   netbsd32___lstat50 0
   2409   2409 t_user_ldt CALL  netbsd32_sysarch(0,0xfffdba74)
   2409   2409 t_user_ldt RET   netbsd32_sysarch -1 errno 78 Function not implemented
 
 That is from:
 
 static void
 user_ldt_detect(void)
 {
         union descriptor desc;
         int ret;
 
         ret = i386_get_ldt(0, &desc, 1);
         user_ldt_supported = (ret != -1) || (errno != ENOTSUP);
 }
 
 so we get ENOSYS the test case interprets that as user_ldt_supported = true;
 
 Martin
 


Home | Main Index | Thread Index | Old Index