glibc/sysdeps/nacl
H.J. Lu 7635a88d32 Add __CPU_MASK_TYPE for __cpu_mask
Since x86-64 and x32 use the same set of sched_XXX system call interface:

[hjl@gnu-6 linux-stable]$ grep sched_
arch/x86/entry/syscalls/syscall_64.tbl
24	common	sched_yield		sys_sched_yield
142	common	sched_setparam		sys_sched_setparam
143	common	sched_getparam		sys_sched_getparam
144	common	sched_setscheduler	sys_sched_setscheduler
145	common	sched_getscheduler	sys_sched_getscheduler
146	common	sched_get_priority_max	sys_sched_get_priority_max
147	common	sched_get_priority_min	sys_sched_get_priority_min
148	common	sched_rr_get_interval	sys_sched_rr_get_interval
203	common	sched_setaffinity	sys_sched_setaffinity
204	common	sched_getaffinity	sys_sched_getaffinity
314	common	sched_setattr		sys_sched_setattr
315	common	sched_getattr		sys_sched_getattr
[hjl@gnu-6 linux-stable]$

__cpu_mask should be unsigned long long, instead of unsigned long, for
x32.  This patch adds __CPU_MASK_TYPE so that each architecture can
define the proper type for __cpu_mask.

	[BZ #19313]
	* bits/typesizes.h (__CPU_MASK_TYPE): New.
	* sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
	* sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
	* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
	Likewise.
	* sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
	Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
	Likewise.
	* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
	Likewise.
	* sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
	* sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
	unsigned long int with __CPU_MASK_TYPE.
2015-12-01 10:25:44 -08:00
..
bits Add __CPU_MASK_TYPE for __cpu_mask 2015-12-01 10:25:44 -08:00
_exit.c PLT avoidance for _exit in rtld. 2015-07-09 15:25:47 -07:00
access.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
backtrace.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
brk.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
chdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
check_fds.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
chmod.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
clock_getres.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
clock_gettime.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
clock.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
close.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
configure Add arm-nacl port. 2015-04-17 09:02:19 -07:00
configure.ac Add arm-nacl port. 2015-04-17 09:02:19 -07:00
createthread.c NaCl: Set tid field to a unique value. 2015-05-20 14:52:05 -07:00
dl-fileid.h Factor file identity rules out of generic rtld code. 2015-07-14 13:15:26 -07:00
dl-map-segments.h NaCl: Use allocate_code_data after dyncode_create 2015-11-20 16:16:35 -08:00
dl-osinfo.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dl-sysdep-open.h NaCl: Use open_resource API for shared objects 2015-11-10 19:44:48 -08:00
dl-sysdep.c NaCl: Use open_resource API for shared objects 2015-11-10 19:44:48 -08:00
dl-sysdep.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dl-unmap-segments.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dl-writev.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dup2.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
dup.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
entry.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
errnos.awk Add arm-nacl port. 2015-04-17 09:02:19 -07:00
euidaccess.c NaCl: Fix symbol names for euidaccess. 2015-04-29 14:43:41 -07:00
exit-thread.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
fchdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fchmod.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fdatasync.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fdopendir.c NaCl: Make fdopendir skip fcntl check. 2015-05-13 12:50:25 -07:00
fork.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fsync.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
ftruncate64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
ftruncate.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
futex-internal.h Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
fxstat64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
fxstat.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getcwd.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getdents64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getdents.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getdtsz.c NaCl: Fix missing getdtablesize symbol. 2015-07-23 15:54:21 -07:00
gethostname.c NaCl: Implement gethostname. 2015-05-08 13:06:41 -07:00
getpagesize.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getpid.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
getsysstats.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
gettimeofday.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
glob64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
glob.c Make sysdeps/posix bring in login subdir. 2015-07-23 17:04:22 -07:00
ifaddrs.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
Implies Add arm-nacl port. 2015-04-17 09:02:19 -07:00
init-first.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
iofdopen.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
irt.sed Add arm-nacl port. 2015-04-17 09:02:19 -07:00
isatty.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
kernel-features.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
ld.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
ldsodefs.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
libanl.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libBrokenLocale.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libc-start.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
libcrypt.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libdl.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libm.abilist Fix lgamma setting signgam for ISO C (bug 15421). 2015-11-20 22:49:59 +00:00
libpthread.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libresolv.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
librt.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
libutil.abilist Simplify the abilist format 2015-11-06 13:58:53 +01:00
link.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
lll_timedlock_wait.c NaCl: Fix thinko in last change. 2015-05-26 16:11:46 -07:00
lll_timedwait_tid.c Clean up BUSY_WAIT_NOP and atomic_delay. 2015-06-30 15:57:15 +02:00
lowlevellock-futex.h NaCl: Fix lll_futex_timed_wait timeout calculation. 2015-05-28 15:35:45 -07:00
lowlevellock.h Clean up BUSY_WAIT_NOP and atomic_delay. 2015-06-30 15:57:15 +02:00
lseek64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
lseek.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
lxstat64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
lxstat.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
Makefile NaCl: Do not install <sys/mtio.h>. 2015-09-11 14:16:18 -07:00
mkdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
mmap64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
mmap.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
mprotect.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
munmap.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl_interface_ext_supply.c NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
nacl_interface_query.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-after-link.sh Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-interface-list.h NaCl: Use open_resource API for shared objects 2015-11-10 19:44:48 -08:00
nacl-interface-table.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-interfaces.c NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
nacl-interfaces.h NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
nacl-interfaces.mk.in Add arm-nacl port. 2015-04-17 09:02:19 -07:00
nacl-test-wrapper.sh NaCl: Fix elf_loader file name in nacl-test-wrapper.sh 2015-05-06 12:55:58 -07:00
nanosleep.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
open64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
open.c NaCl: Use only nacl_irt_dev_filename, never nacl_irt_filename. 2015-07-21 15:48:56 -07:00
preconfigure Add arm-nacl port. 2015-04-17 09:02:19 -07:00
profil.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
pthread_condattr_setclock.c NaCl: Make pthread_condattr_setclock reject CLOCK_MONOTONIC. 2015-07-10 14:18:14 -07:00
pthread-pids.h NaCl: Make thread exit wake pthread_join. 2015-05-28 15:37:31 -07:00
read.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readdir64_r.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readdir64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readdir_r.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
readlink.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
rename.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
rmdir.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
sched_yield.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
shlib-versions Add arm-nacl port. 2015-04-17 09:02:19 -07:00
sigaction.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
sprofil.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
start.c NaCl: Call __nacl_main in preference to main. 2015-08-25 13:37:07 -07:00
Subdirs Add arm-nacl port. 2015-04-17 09:02:19 -07:00
symlink.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
tls.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00
truncate64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
truncate.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
uname-values.h NaCl: Provide non-default values for uname. 2015-05-12 10:54:47 -07:00
unlink.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
utimes.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
Versions NaCl: Implement nacl_interface_ext_supply entry point. 2015-06-03 13:51:11 -07:00
write.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
xstat64.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
xstat.c NaCl: Use only nacl_irt_dev_filename, never nacl_irt_filename. 2015-07-21 15:48:56 -07:00
xstatconv.c Add arm-nacl port. 2015-04-17 09:02:19 -07:00
xstatconv.h Add arm-nacl port. 2015-04-17 09:02:19 -07:00