All of lore.kernel.org
 help / color / mirror / Atom feed
* [mmots][next-20130725] "ipc,shm: dont leave do_shmat with rcu lock held" needs a refresh
@ 2013-07-25 10:53 Sedat Dilek
  0 siblings, 0 replies; only message in thread
From: Sedat Dilek @ 2013-07-25 10:53 UTC (permalink / raw)
  To: Sasha Levin, Andrew Morton
  Cc: linux-mm, LKML, linux-next, Rik van Riel, Manfred Spraul,
	Davidlohr Bueso

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

Hi,

I have tested the IPC patches in mmots which are not in current mmotm
against next-20130725.

Unfortunately, the 1st one needs a refresh (see attached patch).

As a bonbon, I have tested with LTP (see attached results file). It looks good.

Regards,
- Sedat -

P.S.: Diff of series mmotm VS. mmots (IPC patches)

$ diff -uprN ~/src/linux-kernel/series.mmotm
~/src/linux-kernel/series.mmots | grep ^+ | grep ipc
+ipcshm-shorten-critical-region-in-shmctl_down-fix.patch
+ipc-shm-guard-against-non-existant-vma-in-shmdt2.patch
+ipc-drop-ipc_lock_by_ptr.patch
+ipc-shm-drop-shm_lock_check.patch
+ipc-drop-ipc_lock_check.patch

[-- Attachment #2: runltp-f-ipc-and-syscalls-ipc_3.11.0-rc2-next20130725-4-iniza-small.txt --]
[-- Type: text/plain, Size: 62399 bytes --]

INFO: creating /opt/ltp/results directory
Checking for required user/group ids

'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
NAME="Ubuntu"
VERSION="12.04.2 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.2 LTS)"
VERSION_ID="12.04"
Linux fambox 3.11.0-rc2-next20130725-4-iniza-small #1 SMP Thu Jul 25 12:31:29 CEST 2013 x86_64 x86_64 x86_64 GNU/Linux
 
Gnu C                  gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Gnu make               3.81
util-linux             linux 2.20.1
mount                  linux 2.20.1 (with libblkid and selinux support)
modutils               6
e2fsprogs              1.42
PPP                    2.4.5
Linux C Library        > libc.2.15
Dynamic linker (ldd)   2.15
Procps                 3.2.8
Net-tools              1.60
iproute2              iproute2-ss121211
Kbd                    1.15.2
Sh-utils               8.13
Modules Loaded         snd_hda_codec_hdmi snd_hda_codec_realtek arc4 snd_hda_intel snd_hda_codec iwldvm snd_hwdep i915 snd_pcm mac80211 snd_page_alloc joydev uvcvideo snd_seq_midi snd_seq_midi_event i2c_algo_bit snd_rawmidi parport_pc videobuf2_vmalloc snd_seq drm_kms_helper rfcomm bnep ppdev videobuf2_memops drm snd_timer iwlwifi btusb psmouse videobuf2_core snd_seq_device bluetooth videodev snd samsung_laptop serio_raw cfg80211 wmi soundcore lp video lpc_ich mac_hid parport hid_generic usbhid hid usb_storage r8169 mii

free reports:
             total       used       free     shared    buffers     cached
Mem:       3945196    3092780     852416          0    1170716    1292444
-/+ buffers/cache:     629620    3315576
Swap:       262140          0     262140

/proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
stepping	: 7
microcode	: 0x28
cpu MHz		: 1792.000
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 3192.65
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
stepping	: 7
microcode	: 0x28
cpu MHz		: 1664.000
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 3192.65
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
stepping	: 7
microcode	: 0x28
cpu MHz		: 1904.000
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 2
initial apicid	: 2
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 3192.65
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz
stepping	: 7
microcode	: 0x28
cpu MHz		: 1872.000
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 1
cpu cores	: 2
apicid		: 3
initial apicid	: 3
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 3192.65
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

10240+0 records in
10240+0 records out
10240000 bytes (10 MB) copied, 0.057265 s, 179 MB/s
mke2fs 1.42 (29-Nov-2011)
Discarding device blocks:  1024/10000\b\b\b\b\b\b\b\b\b\b\b           \b\b\b\b\b\b\b\b\b\b\bdone                            
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
Stride=0 blocks, Stripe width=0 blocks
2512 inodes, 10000 blocks
500 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=10485760
2 block groups
8192 blocks per group, 8192 fragments per group
1256 inodes per group
Superblock backups stored on blocks: 
	8193

Allocating group tables: 0/2\b\b\b1/2\b\b\b   \b\b\bdone                            
Writing inode tables: 0/2\b\b\b1/2\b\b\b   \b\b\bdone                            
Creating journal (1024 blocks): done
Writing superblocks and filesystem accounting information: 0/2\b\b\b1/2\b\b\b   \b\b\bdone

COMMAND:    /opt/ltp/bin/ltp-pan  -e -S   -a 2776     -n 2776  -p  -f /tmp/ltp-xVG5FWTSC9/alltests -l /opt/ltp/results/LTP_RUN_ON-2013_Jul_25-12h_47m_36s.log  -C /opt/ltp/output/LTP_RUN_ON-2013_Jul_25-12h_47m_36s.failed
-e LOG File: /opt/ltp/results/LTP_RUN_ON-2013_Jul_25-12h_47m_36s.log
-e FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2013_Jul_25-12h_47m_36s.failed
Running tests.......
<<<test_start>>>
tag=pipeio_1 stime=1374749257
cmdline="pipeio -T pipeio_1 -c 5 -s 4090 -i 100 -b -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_1    1  TPASS  :  1 PASS 501 pipe reads complete, read size = 4090, named pipe, blking,
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipeio_3 stime=1374749258
cmdline="pipeio -T pipeio_3 -c 5 -s 4090 -i 100 -u -b -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_3    1  TPASS  :  1 PASS 501 pipe reads complete, read size = 4090, sys pipe, 
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipeio_4 stime=1374749258
cmdline="pipeio -T pipeio_4 -c 5 -s 4090 -i 100 -u -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_4    1  TPASS  :  1 PASS 501 pipe reads complete, read size = 4090, sys pipe, 
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=pipeio_5 stime=1374749258
cmdline="pipeio -T pipeio_5 -c 5 -s 5000 -i 10 -b -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_5    1  TPASS  :  1 PASS 66 pipe reads complete, read size = 4096, named pipe, blking,
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=pipeio_6 stime=1374749258
cmdline="pipeio -T pipeio_6 -c 5 -s 5000 -i 10 -b -u -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_6    1  TPASS  :  1 PASS 66 pipe reads complete, read size = 4096, sys pipe, 
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=pipeio_8 stime=1374749258
cmdline="pipeio -T pipeio_8 -c 5 -s 5000 -i 10 -u -f x80"
contacts=""
analysis=exit
<<<test_output>>>
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    0  TINFO  :  adjusting i/o size to 4096, and # of writes to 13
pipeio_8    1  TPASS  :  1 PASS 66 pipe reads complete, read size = 4096, sys pipe, 
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=sem01 stime=1374749258
cmdline="sem01"
contacts=""
analysis=exit
<<<test_output>>>
PASS: error count is 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=sem02 stime=1374749258
cmdline="sem02"
contacts=""
analysis=exit
<<<test_output>>>
sem02       0  TINFO  :  Poster, pid = 2954, posting
sem02       0  TINFO  :  Waiter, pid = 2954
sem02       0  TINFO  :  Poster posted
sem02       0  TINFO  :  Poster exiting
sem02       0  TINFO  :  Waiter waiting, pid = 2954
sem02       0  TINFO  :  Waiter done waiting
sem02       1  TPASS  :  passed
<<<execution_status>>>
initiation_status="ok"
duration=20 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_01 stime=1374749278
cmdline="	message_queue_test_01"
contacts=""
analysis=exit
<<<test_output>>>
message_queue_test_01: IPC Message Queue TestSuite program

	Create message queue, id: 0x00000000

	Child:  received message queue id: 0

	Child:  sending message:  "message queue transmission test...."

	Parent: received message: "message queue transmission test...."

	Remove the message queue

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_get stime=1374749278
cmdline="message_queue_test_02_get"
contacts=""
analysis=exit
<<<test_output>>>
32768
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_snd stime=1374749278
cmdline="message_queue_test_02_snd"
contacts=""
analysis=exit
<<<test_output>>>
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_rcv stime=1374749278
cmdline="message_queue_test_02_rcv"
contacts=""
analysis=exit
<<<test_output>>>
<< Message Queue test default message >>
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_02_ctl stime=1374749278
cmdline="message_queue_test_02_ctl -r"
contacts=""
analysis=exit
<<<test_output>>>
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_04 stime=1374749278
cmdline="	message_queue_test_04"
contacts=""
analysis=exit
<<<test_output>>>
message_queue_test_04: IPC Message Queue TestSuite program


successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=message_queue_test_05 stime=1374749278
cmdline="	message_queue_test_05"
contacts=""
analysis=exit
<<<test_output>>>
message_queue_test_05: IPC Message Queue TestSuite program

	Creating 10 message queues ...

	All message queues created successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=pipe_test_01 stime=1374749278
cmdline="		pipe_test_01"
contacts=""
analysis=exit
<<<test_output>>>
cat: /etc/inittab: No such file or directory
0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=pipe_test_02 stime=1374749278
cmdline="		pipe_test_02"
contacts=""
analysis=exit
<<<test_output>>>
pipe_test_02: IPC Pipe TestSuite program

	Creating pipes...

	Spawning 1 child processes ... 
		Child:  pid [2969] received 1024 packets from parent

	Parent: sending 1024 packets (40960 bytes) to child processes ...

	Parent: done sending packets & waiting for children to complete!

	Parent: children received all packets & exited successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_01 stime=1374749278
cmdline="	run_semaphore_test_01.sh"
contacts=""
analysis=exit
<<<test_output>>>
semaphore_test_01    0  TINFO  :  Created semaphore ID: 262144
semaphore_test_01    1  TPASS  :  semaphore ID comparing passed.
semaphore_test_01    0  TINFO  :  CLOSE: exit.
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_02 stime=1374749278
cmdline="	semaphore_test_02"
contacts=""
analysis=exit
<<<test_output>>>
semaphore_test_02: IPC Semaphore TestSuite program

	Testing semctl (IPC_SET) command operation

	Testing semctl (IPC_SET) command operation

	Testing semctl (IPC_STAT) command operation

	Testing semctl (SETVAL) command operation

	Testing semctl (GETVAL) command operation

	Testing semop (signal and wait) operations

	Testing semctl (GETPID) command operation

	Testing semctl (GETNCNT) command operation

	Testing semctl (GETZCNT) command operation

	Testing semctl (SETALL) command operation

	Testing semctl (GETALL) command operation

	Testing semctl (IPC_RMID) command operation

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semaphore_test_03 stime=1374749278
cmdline="	semaphore_test_03"
contacts=""
analysis=exit
<<<test_output>>>
semaphore_test_03: IPC Semaphore TestSuite program

	Creating 16 semaphores ...

	Setting semaphore uid, gid and mode ... semid = 327680

	Verifying semaphore info ...

	Testing semop() with all Semaphore values, options and flags

	   Semval Semop  Semflag    Description
	     2     -1    0          Obtain resource     
	     1     -1    0          Obtain resource     
	     0      0    0          Semop function returns immediately
	     5      1    0          Return resource     
	     6     -7    IPC_NOWAIT Semop function returns immediately
	     6      0    IPC_NOWAIT Semop function returns immediately
	     6      1    0          Return resource     
	     7     -8    0          Sleep (until resource becomes available)

	Creating 16 semaphores ...

	Setting semaphore uid, gid and mode ... semid = 327680

	Verifying semaphore info ...

	Testing semop() with all Semaphore values, options and flags

	   Semval Semop  Semflag    Description
	     2     -1    0          Obtain resource     
	     1     -1    0          Obtain resource     
	     0      0    0          Semop function returns immediately
	     5      1    0          Return resource     
	     6     -7    IPC_NOWAIT Semop function returns immediately
	     6      0    IPC_NOWAIT Semop function returns immediately
	     6      1    0          Return resource     
	     7     -8    0          Sleep (until resource becomes available)
	     7     -8    0          Sleep (until signaled)

	Creating 16 semaphores ...

	Setting semaphore uid, gid and mode ... semid = 327680

	Verifying semaphore info ...

	Testing semop() with all Semaphore values, options and flags

	   Semval Semop  Semflag    Description
	     2     -1    0          Obtain resource     
	     1     -1    0          Obtain resource     
	     0      0    0          Semop function returns immediately
	     5      1    0          Return resource     
	     6     -7    IPC_NOWAIT Semop function returns immediately
	     6      0    IPC_NOWAIT Semop function returns immediately
	     6      1    0          Return resource     
	     7     -8    0          Sleep (until resource becomes available)
	     7     -8    0          Sleep (until signaled)
	     1      5    SEM_UNDO   Sleep (until resource becomes available)

	Creating 16 semaphores ...

	Setting semaphore uid, gid and mode ... semid = 327680

	Verifying semaphore info ...

	Testing semop() with all Semaphore values, options and flags

	   Semval Semop  Semflag    Description
	     2     -1    0          Obtain resource     
	     1     -1    0          Obtain resource     
	     0      0    0          Semop function returns immediately
	     5      1    0          Return resource     
	     6     -7    IPC_NOWAIT Semop function returns immediately
	     6      0    IPC_NOWAIT Semop function returns immediately
	     6      1    0          Return resource     
	     7     -8    0          Sleep (until resource becomes available)
	     7     -8    0          Sleep (until signaled)
	     1      5    SEM_UNDO   Sleep (until resource becomes available)
	     7     -8    0          Sleep (until semaphores are removed)

	Creating 16 semaphores ...

	Setting semaphore uid, gid and mode ... semid = 327680

	Verifying semaphore info ...

	Testing semop() with all Semaphore values, options and flags

	   Semval Semop  Semflag    Description
	     2     -1    0          Obtain resource     
	     1     -1    0          Obtain resource     
	     0      0    0          Semop function returns immediately
	     5      1    0          Return resource     
	     6     -7    IPC_NOWAIT Semop function returns immediately
	     6      0    IPC_NOWAIT Semop function returns immediately
	     6      1    0          Return resource     
	     7     -8    0          Sleep (until resource becomes available)
	     7     -8    0          Sleep (until signaled)
	     1      5    SEM_UNDO   Sleep (until resource becomes available)
	     7     -8    0          Sleep (until semaphores are removed)
	     9     -1    SEM_UNDO   Obtain resource     
	     8     -8    SEM_UNDO   Obtain resource     
	     9      0    0          Sleep (until signaled)

	Creating 16 semaphores ...

	Setting semaphore uid, gid and mode ... semid = 327680

	Verifying semaphore info ...

	Testing semop() with all Semaphore values, options and flags

	   Semval Semop  Semflag    Description
	     2     -1    0          Obtain resource     
	     1     -1    0          Obtain resource     
	     0      0    0          Semop function returns immediately
	     5      1    0          Return resource     
	     6     -7    IPC_NOWAIT Semop function returns immediately
	     6      0    IPC_NOWAIT Semop function returns immediately
	     6      1    0          Return resource     
	     7     -8    0          Sleep (until resource becomes available)
	     7     -8    0          Sleep (until signaled)
	     1      5    SEM_UNDO   Sleep (until resource becomes available)
	     7     -8    0          Sleep (until semaphores are removed)
	     9     -1    SEM_UNDO   Obtain resource     
	     8     -8    SEM_UNDO   Obtain resource     
	     9      0    0          Sleep (until signaled)
	     9      0    0          Sleep (until resource becomes available)

	Creating 16 semaphores ...

	Setting semaphore uid, gid and mode ... semid = 327680

	Verifying semaphore info ...

	Testing semop() with all Semaphore values, options and flags

	   Semval Semop  Semflag    Description
	     2     -1    0          Obtain resource     
	     1     -1    0          Obtain resource     
	     0      0    0          Semop function returns immediately
	     5      1    0          Return resource     
	     6     -7    IPC_NOWAIT Semop function returns immediately
	     6      0    IPC_NOWAIT Semop function returns immediately
	     6      1    0          Return resource     
	     7     -8    0          Sleep (until resource becomes available)
	     7     -8    0          Sleep (until signaled)
	     1      5    SEM_UNDO   Sleep (until resource becomes available)
	     7     -8    0          Sleep (until semaphores are removed)
	     9     -1    SEM_UNDO   Obtain resource     
	     8     -8    SEM_UNDO   Obtain resource     
	     9      0    0          Sleep (until signaled)
	     9      0    0          Sleep (until resource becomes available)
	     4      0    0          Sleep (until semaphores are removed)

	Creating 16 semaphores ...

	Setting semaphore uid, gid and mode ... semid = 327680

	Verifying semaphore info ...

	Testing semop() with all Semaphore values, options and flags

	   Semval Semop  Semflag    Description
	     2     -1    0          Obtain resource     
	     1     -1    0          Obtain resource     
	     0      0    0          Semop function returns immediately
	     5      1    0          Return resource     
	     6     -7    IPC_NOWAIT Semop function returns immediately
	     6      0    IPC_NOWAIT Semop function returns immediately
	     6      1    0          Return resource     
	     7     -8    0          Sleep (until resource becomes available)
	     7     -8    0          Sleep (until signaled)
	     1      5    SEM_UNDO   Sleep (until resource becomes available)
	     7     -8    0          Sleep (until semaphores are removed)
	     9     -1    SEM_UNDO   Obtain resource     
	     8     -8    SEM_UNDO   Obtain resource     
	     9      0    0          Sleep (until signaled)
	     9      0    0          Sleep (until resource becomes available)
	     4      0    0          Sleep (until semaphores are removed)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=7 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_01 stime=1374749285
cmdline="		shmem_test_01"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_01: IPC Shared Memory TestSuite program

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Index through shared memory segment ...

	Release shared memory

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_02 stime=1374749285
cmdline="		shmem_test_02"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_02: IPC Shared Memory TestSuite program

	Get shared memory segment (100000 bytes)

	Parent: calculate shared memory segment checksum
	        shared memory checksum 00c26eb0

	Spawning 2 child processes ... 
		child (00): checksum 00c26eb0
shmem_test_02: IPC Shared Memory TestSuite program

	Get shared memory segment (100000 bytes)

	Parent: calculate shared memory segment checksum
	        shared memory checksum 00c26eb0

	Spawning 2 child processes ... 
		child (01): checksum 00c26eb0
shmem_test_02: IPC Shared Memory TestSuite program

	Get shared memory segment (100000 bytes)

	Parent: calculate shared memory segment checksum
	        shared memory checksum 00c26eb0

	Spawning 2 child processes ... 

	Parent: children calculated segment successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_03 stime=1374749285
cmdline="		shmem_test_03"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_03: IPC Shared Memory TestSuite program

	Get shared memory segment (100000 bytes)

	Spawning 2 child processes ... 
		child (00): checksum 00c26eb0
shmem_test_03: IPC Shared Memory TestSuite program

	Get shared memory segment (100000 bytes)

	Spawning 2 child processes ... 
		child (01): checksum 00c26eb0
shmem_test_03: IPC Shared Memory TestSuite program

	Get shared memory segment (100000 bytes)

	Spawning 2 child processes ... 

	Parent: calculate shared memory segment checksum
	        shared memory checksum 00c26eb0

	Parent: children calculated segment successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_04 stime=1374749285
cmdline="		shmem_test_04"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_04: IPC Shared Memory TestSuite program

	Object type to map = Anonymous memory
	Number of loops    = 1
	Number of procs    = 1
	Bytes per process  = 16777216 (16MB)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_05 stime=1374749285
cmdline="		shmem_test_05"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_05: IPC Shared Memory TestSuite program

	mykey to uniquely identify the shared memory segment 0x33050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30000000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x34050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30200000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x35050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30400000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x36050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30600000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x37050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30800000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x38050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30a00000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x39050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30c00000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x41050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30d00000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x42050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x30f00000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x43050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x31000000

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x45050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	offset of the shared memory segment 0x32000000

	Index through shared memory segment ...

	Detach from the segment using the shmdt subroutine

	Release shared memory

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_06 stime=1374749285
cmdline="		shmem_test_06"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_06: IPC Shared Memory TestSuite program

	mykey to uniquely identify the shared memory segment 0x33050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799ca64000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x34050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799c283000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x35050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799c183000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x36050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799c083000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x37050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799bf83000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x38050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799be83000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x39050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799bd83000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x41050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799bc83000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x42050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799bb83000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x43050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799ba83000 

	Index through shared memory segment ...

	mykey to uniquely identify the shared memory segment 0x45050405

	Get shared memory segment (1048576 bytes)

	Attach shared memory segment to process

	Shared memory segment address : 0x7f799b983000 

	Index through shared memory segment ...

	Detach from the segment using the shmdt subroutine

	Release shared memory

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=2 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmem_test_07 stime=1374749285
cmdline="		shmem_test_07"
contacts=""
analysis=exit
<<<test_output>>>
shmem_test_07: IPC Shared Memory TestSuite program
	Number of writers    = 2
	Number of readers    = 2
	Bytes per writer	= 200000
		writer (000): shared memory checksum 01850160
		reader (000) of writer (000): checksum 01850160
		reader (001) of writer (000): checksum 01850160
		writer (001): shared memory checksum 018501a0
		reader (001) of writer (001): checksum 018501a0
		reader (000) of writer (001): checksum 018501a0

	Main: readers calculated segment successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_01 stime=1374749285
cmdline="		signal_test_01"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_01: IPC Signals TestSuite program

	Send SIGILL, SIGALRM, SIGIOT signals to process
	received signal: (SIGILL)
	received signal: (SIGALRM)
	received signal: (SIGIOT/SIGABRT)

	Block SIGILL, SIGALRM, SIGIOT signals, and resend signals + others
	received signal: (SIGFPE)
	received signal: (SIGTERM)
	received signal: (SIGINT)

	Block rest of signals

	Change signal mask & wait until signal interrupts process
	received signal: (SIGINT)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_02 stime=1374749287
cmdline="		signal_test_02"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_02: IPC TestSuite program

	Send SIGILL, SIGALRM, SIGIOT signals to process
	received signal: (SIGILL)
	received signal: (SIGALRM)
	received signal: (SIGIOT/SIGABRT)

	Block SIGILL, SIGALRM, SIGIOT signals, and resend signals + others
	received signal: (SIGFPE)
	received signal: (SIGTERM)
	received signal: (SIGINT)

	Block rest of signals

	Change signal mask & wait until signal interrupts process
	received signal: (SIGINT)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_03 stime=1374749289
cmdline="		signal_test_03"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_03: IPC Signals TestSuite program

	(BEGIN) Critial section

	(END) Critial section
	received signal: (SIGILL)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_04 stime=1374749290
cmdline="		signal_test_04"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_04: IPC TestSuite program

	Wait for SIGUSR1 signal from child process
	Received SIGUSR1 (30)

	Stop the child process

	Wait for SIGCHLD signal from stopped child process
	Received SIGCHLD (20)

	Resume child process & wait for it to send SIGUSR1 signal
	Received SIGUSR1 (20)

	Now kill the child process with SIGUSR2 signal

	Wait for SIGCHLD signal from killed child process
	Received SIGCHLD (30)

successful!
<<<execution_status>>>
initiation_status="ok"
duration=4 termination_type=exited termination_id=0 corefile=no
cutime=399 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=signal_test_05 stime=1374749294
cmdline="		signal_test_05"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_05: IPC TestSuite program


	Spawning child process

	Child: sending ALL signals to parent!
	Sending (1)
	Sending (2)
	Sending (3)
	Sending (4)
	Sending (5)
	Sending (6)
	Sending (7)
	Sending (8)
	Sending (10)
	Sending (11)
	Sending (12)
	Sending (13)
	Sending (14)
	Sending (15)
	Sending (16)
	Sending (18)
	Sending (20)
	Sending (21)
	Sending (22)
	Sending (23)
	Sending (24)
	Sending (25)
	Sending (26)
	Sending (27)
	Sending (28)
	Sending (29)
	Sending (30)
	Sending (31)
	Sending (35)
	Sending (36)
	Sending (37)
	Sending (38)
	Sending (39)
	Sending (40)
	Sending (41)
	Sending (42)
	Sending (43)
	Sending (44)
	Sending (45)
	Sending (46)
	Sending (47)
	Sending (48)
	Sending (49)
	Sending (50)
	Sending (51)
	Sending (52)
	Sending (53)
	Sending (54)
	Sending (55)
	Sending (56)
	Sending (57)
	Sending (58)
	Sending (59)
	Sending (60)
	Sending (61)
	Sending (62)
	Sending (63)
	Sending (64)
signal_test_05: IPC TestSuite program


	Spawning child process
	caught SIGCHLD(17) signal

	Child process exited successfully

successful!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=signal_test_06 stime=1374749294
cmdline="		signal_test_06"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_06: IPC TestSuite program

	Block all signals from interrupting the process

	Send MAX (1048576) SIGUSR1 signals to the process...

	Ensure at least one SIGUSR1 signal is pending

	Change signal mask & wait for SIGUSR1 signal
	caught SIGUSR1 (10) signal

successful!
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=40 cstime=37
<<<test_end>>>
<<<test_start>>>
tag=signal_test_07 stime=1374749297
cmdline="		signal_test_07"
contacts=""
analysis=exit
<<<test_output>>>
signal_test_07: IPC TestSuite program

	Send MAX (1048576) signals to the process...

	Received EVERY signal!

successful!
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=103 cstime=198
<<<test_end>>>
<<<test_start>>>
tag=msgctl01 stime=1374749300
cmdline="msgctl01"
contacts=""
analysis=exit
<<<test_output>>>
msgctl01    1  TPASS  :  qs_buf.msg_qbytes is a positive value
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl02 stime=1374749300
cmdline="msgctl02"
contacts=""
analysis=exit
<<<test_output>>>
msgctl02    1  TPASS  :  qs_buf.msg_qbytes is the new value - 16383
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl03 stime=1374749300
cmdline="msgctl03"
contacts=""
analysis=exit
<<<test_output>>>
msgctl03    1  TPASS  :  The queue is gone
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl04 stime=1374749300
cmdline="msgctl04"
contacts=""
analysis=exit
<<<test_output>>>
msgctl04    1  TPASS  :  expected failure: TEST_ERRNO=EACCES(13): Permission denied
msgctl04    2  TPASS  :  expected failure: TEST_ERRNO=EFAULT(14): Bad address
msgctl04    3  TPASS  :  expected failure: TEST_ERRNO=EFAULT(14): Bad address
msgctl04    4  TPASS  :  expected failure: TEST_ERRNO=EINVAL(22): Invalid argument
msgctl04    5  TPASS  :  expected failure: TEST_ERRNO=EINVAL(22): Invalid argument
msgctl04    6  TPASS  :  expected failure: TEST_ERRNO=EINVAL(22): Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgctl05 stime=1374749300
cmdline="msgctl05"
contacts=""
analysis=exit
<<<test_output>>>
msgctl05    1  TPASS  :  expected error = 1 : Operation not permitted
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl06 stime=1374749300
cmdline="msgctl06"
contacts=""
analysis=exit
<<<test_output>>>
msgctl06    1  TPASS  :  msgctl06 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgctl07 stime=1374749300
cmdline="msgctl07"
contacts=""
analysis=exit
<<<test_output>>>
msgctl07    1  TPASS  :  msgctl07 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=20 termination_type=exited termination_id=0 corefile=no
cutime=1997 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgctl08 stime=1374749320
cmdline="msgctl08"
contacts=""
analysis=exit
<<<test_output>>>
msgctl08    1  TPASS  :  msgctl08 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=278 cstime=641
<<<test_end>>>
<<<test_start>>>
tag=msgctl09 stime=1374749323
cmdline="msgctl09"
contacts=""
analysis=exit
<<<test_output>>>
msgctl09    1  TPASS  :  msgctl09 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=24 cstime=74
<<<test_end>>>
<<<test_start>>>
tag=msgctl10 stime=1374749323
cmdline="msgctl10"
contacts=""
analysis=exit
<<<test_output>>>
msgctl10    1  TPASS  :  msgctl10 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=85 termination_type=exited termination_id=0 corefile=no
cutime=11021 cstime=21904
<<<test_end>>>
<<<test_start>>>
tag=msgctl11 stime=1374749408
cmdline="msgctl11"
contacts=""
analysis=exit
<<<test_output>>>
msgctl11    0  TINFO  :  Using upto 16186 pids
msgctl11    1  TPASS  :  msgctl11 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=10 termination_type=exited termination_id=0 corefile=no
cutime=1184 cstime=2529
<<<test_end>>>
<<<test_start>>>
tag=msgget01 stime=1374749418
cmdline="msgget01"
contacts=""
analysis=exit
<<<test_output>>>
msgget01    1  TPASS  :  message received = message sent
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgget02 stime=1374749418
cmdline="msgget02"
contacts=""
analysis=exit
<<<test_output>>>
msgget02    1  TPASS  :  expected failure - errno = 17 : File exists
msgget02    2  TPASS  :  expected failure - errno = 2 : No such file or directory
msgget02    3  TPASS  :  expected failure - errno = 2 : No such file or directory
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgget03 stime=1374749418
cmdline="msgget03"
contacts=""
analysis=exit
<<<test_output>>>
msgget03    1  TPASS  :  expected failure - errno = 0 : Success
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=42
<<<test_end>>>
<<<test_start>>>
tag=msgget04 stime=1374749419
cmdline="msgget04"
contacts=""
analysis=exit
<<<test_output>>>
msgget04    1  TPASS  :  expected failure - errno = 13 : Permission denied
msgget04    2  TPASS  :  expected failure - errno = 13 : Permission denied
msgget04    3  TPASS  :  expected failure - errno = 13 : Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv01 stime=1374749419
cmdline="msgrcv01"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv01    1  TPASS  :  message received = message sent
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv02 stime=1374749419
cmdline="msgrcv02"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv02    1  TPASS  :  expected failure - errno = 13 : Permission denied
msgrcv02    2  TPASS  :  expected failure - errno = 14 : Bad address
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv03 stime=1374749419
cmdline="msgrcv03"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv03    1  TPASS  :  expected failure - errno = 22 : Invalid argument
msgrcv03    2  TPASS  :  expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgrcv04 stime=1374749419
cmdline="msgrcv04"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv04    1  TPASS  :  expected failure - errno = 7 : Argument list too long
msgrcv04    2  TPASS  :  expected failure - errno = 42 : No message of desired type
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv05 stime=1374749419
cmdline="msgrcv05"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv05    1  TPASS  :  got EINTR as expected
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgrcv06 stime=1374749420
cmdline="msgrcv06"
contacts=""
analysis=exit
<<<test_output>>>
msgrcv06    1  TPASS  :  expected failure - errno = 43 : Identifier removed
<<<execution_status>>>
initiation_status="ok"
duration=1 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd01 stime=1374749421
cmdline="msgsnd01"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd01    1  TPASS  :  queue bytes = MSGSIZE and queue messages = 1
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd02 stime=1374749421
cmdline="msgsnd02"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd02    1  TPASS  :  expected failure - errno = 13 : Permission denied
msgsnd02    2  TPASS  :  expected failure - errno = 14 : Bad address
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd03 stime=1374749421
cmdline="msgsnd03"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd03    1  TPASS  :  expected failure - errno = 22 : Invalid argument
msgsnd03    2  TPASS  :  expected failure - errno = 22 : Invalid argument
msgsnd03    3  TPASS  :  expected failure - errno = 22 : Invalid argument
msgsnd03    4  TPASS  :  expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd04 stime=1374749421
cmdline="msgsnd04"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd04    1  TPASS  :  expected failure - errno = 11 : Resource temporarily unavailable
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=msgsnd05 stime=1374749421
cmdline="msgsnd05"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd05    1  TPASS  :  expected failure - errno = 4 : Interrupted system call
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=msgsnd06 stime=1374749423
cmdline="msgsnd06"
contacts=""
analysis=exit
<<<test_output>>>
msgsnd06    1  TPASS  :  expected failure - errno = 43 : Identifier removed
<<<execution_status>>>
initiation_status="ok"
duration=2 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl01 stime=1374749425
cmdline="semctl01"
contacts=""
analysis=exit
<<<test_output>>>
semctl01    1  TPASS  :  buf.sem_nsems and buf.sem_perm.mode are correct
semctl01    2  TPASS  :  buf.sem_perm.mode is correct
semctl01    3  TPASS  :  semaphores have expected values
semctl01    4  TPASS  :  number of sleeping processes is correct
semctl01    1  TPASS  :  buf.sem_nsems and buf.sem_perm.mode are correct
semctl01    2  TPASS  :  buf.sem_perm.mode is correct
semctl01    3  TPASS  :  semaphores have expected values
semctl01    4  TPASS  :  number of sleeping processes is correct
semctl01    5  TPASS  :  last pid value is correct
semctl01    6  TPASS  :  semaphore value is correct
semctl01    7  TPASS  :  number of sleeping processes is correct
semctl01    8  TPASS  :  semaphore values are correct
semctl01    9  TPASS  :  semaphore value is correct
semctl01   10  TPASS  :  semaphore appears to be removed
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl02 stime=1374749428
cmdline="semctl02"
contacts=""
analysis=exit
<<<test_output>>>
semctl02    1  TPASS  :  expected failure - errno = 13 : Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semctl03 stime=1374749428
cmdline="semctl03"
contacts=""
analysis=exit
<<<test_output>>>
semctl03    1  TPASS  :  expected failure - errno = 22 : Invalid argument
semctl03    2  TPASS  :  expected failure - errno = 22 : Invalid argument
semctl03    3  TPASS  :  expected failure - errno = 14 : Bad address
semctl03    4  TPASS  :  expected failure - errno = 14 : Bad address
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl04 stime=1374749428
cmdline="semctl04"
contacts=""
analysis=exit
<<<test_output>>>
semctl04    1  TPASS  :  expected failure - errno = 1 : Operation not permitted
semctl04    2  TPASS  :  expected failure - errno = 1 : Operation not permitted
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl05 stime=1374749428
cmdline="semctl05"
contacts=""
analysis=exit
<<<test_output>>>
semctl05    1  TPASS  :  expected failure - errno = 34 : Numerical result out of range
semctl05    2  TPASS  :  expected failure - errno = 34 : Numerical result out of range
semctl05    3  TPASS  :  expected failure - errno = 34 : Numerical result out of range
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semctl06 stime=1374749428
cmdline="semctl06"
contacts=""
analysis=exit
<<<test_output>>>
semctl06    1  TPASS  :  semctl06 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=3
<<<test_end>>>
<<<test_start>>>
tag=semctl07 stime=1374749428
cmdline="semctl07"
contacts=""
analysis=exit
<<<test_output>>>
semctl07    1  TPASS  :  semctl07 ran successfully!
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semget01 stime=1374749428
cmdline="semget01"
contacts=""
analysis=exit
<<<test_output>>>
semget01    1  TPASS  :  basic semaphore values are okay
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semget02 stime=1374749428
cmdline="semget02"
contacts=""
analysis=exit
<<<test_output>>>
semget02    1  TPASS  :  expected failure - errno = 13 : Permission denied
semget02    2  TPASS  :  expected failure - errno = 17 : File exists
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semget03 stime=1374749428
cmdline="semget03"
contacts=""
analysis=exit
<<<test_output>>>
semget03    1  TPASS  :  expected failure - errno = 2 : No such file or directory
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semget05 stime=1374749428
cmdline="semget05"
contacts=""
analysis=exit
<<<test_output>>>
semget05    1  TPASS  :  expected failure - errno = 28 : No space left on device
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=semget06 stime=1374749428
cmdline="semget06"
contacts=""
analysis=exit
<<<test_output>>>
semget06    1  TPASS  :  expected failure - errno = 22 : Invalid argument
semget06    2  TPASS  :  expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop01 stime=1374749428
cmdline="semop01"
contacts=""
analysis=exit
<<<test_output>>>
semop01     1  TPASS  :  semaphore values are correct
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop02 stime=1374749428
cmdline="semop02"
contacts=""
analysis=exit
<<<test_output>>>
semop02     1  TPASS  :  expected failure - errno = 7 : Argument list too long
semop02     2  TPASS  :  expected failure - errno = 13 : Permission denied
semop02     3  TPASS  :  expected failure - errno = 14 : Bad address
semop02     4  TPASS  :  expected failure - errno = 22 : Invalid argument
semop02     5  TPASS  :  expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop03 stime=1374749428
cmdline="semop03"
contacts=""
analysis=exit
<<<test_output>>>
semop03     1  TPASS  :  expected failure - errno = 27 : File too large
semop03     2  TPASS  :  expected failure - errno = 27 : File too large
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop04 stime=1374749428
cmdline="semop04"
contacts=""
analysis=exit
<<<test_output>>>
semop04     1  TPASS  :  expected failure - errno = 11 : Resource temporarily unavailable
semop04     2  TPASS  :  expected failure - errno = 11 : Resource temporarily unavailable
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=semop05 stime=1374749428
cmdline="semop05"
contacts=""
analysis=exit
<<<test_output>>>
semop05     1  TPASS  :  expected failure - errno = 43 : Identifier removed
semop05     1  TPASS  :  expected failure - errno = 43 : Identifier removed
semop05     1  TPASS  :  expected failure - errno = 4 : Interrupted system call
semop05     1  TPASS  :  expected failure - errno = 4 : Interrupted system call
<<<execution_status>>>
initiation_status="ok"
duration=4 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmat01 stime=1374749432
cmdline="shmat01"
contacts=""
analysis=exit
<<<test_output>>>
shmat01     1  TPASS  :  conditions and functionality are correct
shmat01     2  TPASS  :  conditions and functionality are correct
shmat01     3  TPASS  :  conditions and functionality are correct
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmat02 stime=1374749432
cmdline="shmat02"
contacts=""
analysis=exit
<<<test_output>>>
shmat02     1  TPASS  :  shmat failed as expected: errno=EINVAL(22): Invalid argument
shmat02     2  TPASS  :  shmat failed as expected: errno=EINVAL(22): Invalid argument
shmat02     3  TPASS  :  shmat failed as expected: errno=EACCES(13): Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmat03 stime=1374749432
cmdline="shmat03"
contacts=""
analysis=exit
<<<test_output>>>
shmat03     1  TPASS  :  expected failure: TEST_ERRNO=EACCES(13): Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmctl01 stime=1374749432
cmdline="shmctl01"
contacts=""
analysis=exit
<<<test_output>>>
shmctl01    1  TPASS  :  pid, size, # of attaches and mode are correct - pass #1
shmctl01    2  TPASS  :  pid, size, # of attaches and mode are correct - pass #2
shmctl01    3  TPASS  :  new mode and change time are correct
shmctl01    4  TPASS  :  shared memory appears to be removed
<<<execution_status>>>
initiation_status="ok"
duration=3 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmctl02 stime=1374749435
cmdline="shmctl02"
contacts=""
analysis=exit
<<<test_output>>>
shmctl02    1  TPASS  :  expected failure - errno = 13 : Permission denied
shmctl02    2  TPASS  :  expected failure - errno = 14 : Bad address
shmctl02    3  TPASS  :  expected failure - errno = 14 : Bad address
shmctl02    4  TPASS  :  expected failure - errno = 22 : Invalid argument
shmctl02    5  TPASS  :  expected failure - errno = 22 : Invalid argument
shmctl02    6  TCONF  :  shmctl() did not fail for non-root user.This may be okay for your distribution.
shmctl02    7  TPASS  :  expected failure - errno = 1 : Operation not permitted
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmctl03 stime=1374749435
cmdline="shmctl03"
contacts=""
analysis=exit
<<<test_output>>>
shmctl03    1  TPASS  :  expected failure - errno = 13 : Permission denied
shmctl03    2  TPASS  :  expected failure - errno = 1 : Operation not permitted
shmctl03    3  TPASS  :  expected failure - errno = 1 : Operation not permitted
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmctl04 stime=1374749435
cmdline="shmctl04"
contacts=""
analysis=exit
<<<test_output>>>
shmctl04    1  TPASS  :  SHM_INFO call succeeded
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmdt01 stime=1374749435
cmdline="shmdt01"
contacts=""
analysis=exit
<<<test_output>>>
shmdt01     1  TPASS  :  shared memory detached correctly
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmdt02 stime=1374749435
cmdline="shmdt02"
contacts=""
analysis=exit
<<<test_output>>>
shmdt02     1  TPASS  :  expected failure - errno = 22 : Invalid argument
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmget01 stime=1374749435
cmdline="shmget01"
contacts=""
analysis=exit
<<<test_output>>>
shmget01    1  TPASS  :  size, pid & mode are correct
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmget02 stime=1374749435
cmdline="shmget02"
contacts=""
analysis=exit
<<<test_output>>>
shmget02    1  TPASS  :  expected failure - errno = 22 : Invalid argument
shmget02    2  TPASS  :  expected failure - errno = 22 : Invalid argument
shmget02    3  TPASS  :  expected failure - errno = 17 : File exists
shmget02    4  TPASS  :  expected failure - errno = 2 : No such file or directory
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
<<<test_start>>>
tag=shmget03 stime=1374749435
cmdline="shmget03"
contacts=""
analysis=exit
<<<test_output>>>
shmget03    1  TPASS  :  expected failure - errno = 28 : No space left on device
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=1 cstime=4
<<<test_end>>>
<<<test_start>>>
tag=shmget04 stime=1374749435
cmdline="shmget04"
contacts=""
analysis=exit
<<<test_output>>>
shmget04    1  TPASS  :  expected failure - errno = 13 : Permission denied
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=1
<<<test_end>>>
<<<test_start>>>
tag=shmget05 stime=1374749435
cmdline="shmget05"
contacts=""
analysis=exit
<<<test_output>>>
shmget05    1  TPASS  :  expected failure - errno = 13 : Permission denied
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=0 corefile=no
cutime=0 cstime=0
<<<test_end>>>
INFO: ltp-pan reported all tests PASS
LTP Version: 20130503

       ###############################################################

            Done executing testcases.
            LTP Version:  20130503
       ###############################################################


[-- Attachment #3: 1-ipcshm-shorten-critical-region-in-shmctl_down-fix-v2.patch --]
[-- Type: application/octet-stream, Size: 994 bytes --]

From: Sasha Levin <sasha.levin@oracle.com>
Subject: ipc,shm: dont leave do_shmat with rcu lock held

Commit "ipc,shm: shorten critical region for shmat" had an issue that allowed
us to exit do_shmat() without releasing the rcu lock that was taken previously
in the function.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
[ dileks: v2: Adapt to fit next-20130725 ]

 ipc/shm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN ipc/shm.c~ipcshm-shorten-critical-region-in-shmctl_down-fix ipc/shm.c
--- a/ipc/shm.c~ipcshm-shorten-critical-region-in-shmctl_down-fix
+++ a/ipc/shm.c
@@ -1062,7 +1062,7 @@ long do_shmat(int shmid, char __user *sh
 	shp = shm_obtain_object_check(ns, shmid);
 	if (IS_ERR(shp)) {
 		err = PTR_ERR(shp);
-		goto out;
+		goto out_unlock;
 	}
 
 	err = -EACCES;
_

[-- Attachment #4: 3.11.0-rc2-next20130725-4-iniza-small.patch --]
[-- Type: application/octet-stream, Size: 7109 bytes --]

Davidlohr Bueso (4):
      ipc, shm: guard against non-existant vma in shmdt(2)
      ipc: drop ipc_lock_by_ptr
      ipc, shm: drop shm_lock_check
      ipc: drop ipc_lock_check

Jani Nikula (1):
      drm/i915: initialize gt_lock early with other spin locks

Sasha Levin (1):
      ipc,shm: dont leave do_shmat with rcu lock held

Sedat Dilek (7):
      kbuild: deb-pkg: Try to determine distribution
      kbuild: deb-pkg: Bump year in debian/copyright file
      kbuild: deb-pkg: Update git repository URL in debian/copyright file
      Merge tag 'next-20130725' of git://git.kernel.org/.../next/linux-next into Linux-next-20130725
      Merge branch 'deb-pkg-3.10-fixes' into 3.11.0-rc2-next20130725-4-iniza-small
      Merge branch 'ipc-next-fixes-from-mmots' into 3.11.0-rc2-next20130725-4-iniza-small
      Merge branch 'drm-intel-next-fixes-2' into 3.11.0-rc2-next20130725-4-iniza-small

 drivers/gpu/drm/i915/i915_dma.c |  1 +
 drivers/gpu/drm/i915/intel_pm.c |  2 --
 ipc/namespace.c                 |  3 ++-
 ipc/shm.c                       | 16 ++--------------
 ipc/util.c                      | 22 ++++------------------
 ipc/util.h                      |  7 -------
 scripts/package/builddeb        | 19 ++++++++++++++++---
 7 files changed, 25 insertions(+), 45 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 5e436de..fe202cb 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -1491,6 +1491,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
 	dev_priv->info = info;
 
 	spin_lock_init(&dev_priv->irq_lock);
+	spin_lock_init(&dev_priv->gt_lock);
 	spin_lock_init(&dev_priv->gpu_error.lock);
 	spin_lock_init(&dev_priv->backlight.lock);
 	mutex_init(&dev_priv->dpio_lock);
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
index 008e0e0..74d6c4d 100644
--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -5494,8 +5494,6 @@ void intel_gt_init(struct drm_device *dev)
 {
 	struct drm_i915_private *dev_priv = dev->dev_private;
 
-	spin_lock_init(&dev_priv->gt_lock);
-
 	if (IS_VALLEYVIEW(dev)) {
 		dev_priv->gt.force_wake_get = vlv_force_wake_get;
 		dev_priv->gt.force_wake_put = vlv_force_wake_put;
diff --git a/ipc/namespace.c b/ipc/namespace.c
index 67dc744..aba9a58 100644
--- a/ipc/namespace.c
+++ b/ipc/namespace.c
@@ -89,7 +89,8 @@ void free_ipcs(struct ipc_namespace *ns, struct ipc_ids *ids,
 		perm = idr_find(&ids->ipcs_idr, next_id);
 		if (perm == NULL)
 			continue;
-		ipc_lock_by_ptr(perm);
+		rcu_read_lock();
+		ipc_lock_object(perm);
 		free(ns, perm);
 		total++;
 	}
diff --git a/ipc/shm.c b/ipc/shm.c
index 59f2194..2821cdf 100644
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -167,17 +167,6 @@ static inline void shm_lock_by_ptr(struct shmid_kernel *ipcp)
 	ipc_lock_object(&ipcp->shm_perm);
 }
 
-static inline struct shmid_kernel *shm_lock_check(struct ipc_namespace *ns,
-						int id)
-{
-	struct kern_ipc_perm *ipcp = ipc_lock_check(&shm_ids(ns), id);
-
-	if (IS_ERR(ipcp))
-		return (struct shmid_kernel *)ipcp;
-
-	return container_of(ipcp, struct shmid_kernel, shm_perm);
-}
-
 static inline void shm_rmid(struct ipc_namespace *ns, struct shmid_kernel *s)
 {
 	ipc_rmid(&shm_ids(ns), &s->shm_perm);
@@ -1093,7 +1082,7 @@ long do_shmat(int shmid, char __user *shmaddr, int shmflg, ulong *raddr,
 	shp = shm_obtain_object_check(ns, shmid);
 	if (IS_ERR(shp)) {
 		err = PTR_ERR(shp);
-		goto out;
+		goto out_unlock;
 	}
 
 	err = -EACCES;
@@ -1288,8 +1277,7 @@ SYSCALL_DEFINE1(shmdt, char __user *, shmaddr)
 #else /* CONFIG_MMU */
 	/* under NOMMU conditions, the exact address to be destroyed must be
 	 * given */
-	retval = -EINVAL;
-	if (vma->vm_start == addr && vma->vm_ops == &shm_vm_ops) {
+	if (vma && vma->vm_start == addr && vma->vm_ops == &shm_vm_ops) {
 		do_munmap(mm, vma->vm_start, vma->vm_end - vma->vm_start);
 		retval = 0;
 	}
diff --git a/ipc/util.c b/ipc/util.c
index 1ddadcf..e829da9 100644
--- a/ipc/util.c
+++ b/ipc/util.c
@@ -205,7 +205,8 @@ static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key)
 			continue;
 		}
 
-		ipc_lock_by_ptr(ipc);
+		rcu_read_lock();
+		ipc_lock_object(ipc);
 		return ipc;
 	}
 
@@ -685,22 +686,6 @@ out:
 	return out;
 }
 
-struct kern_ipc_perm *ipc_lock_check(struct ipc_ids *ids, int id)
-{
-	struct kern_ipc_perm *out;
-
-	out = ipc_lock(ids, id);
-	if (IS_ERR(out))
-		return out;
-
-	if (ipc_checkid(out, id)) {
-		ipc_unlock(out);
-		return ERR_PTR(-EIDRM);
-	}
-
-	return out;
-}
-
 /**
  * ipcget - Common sys_*get() code
  * @ns : namsepace
@@ -838,7 +823,8 @@ static struct kern_ipc_perm *sysvipc_find_ipc(struct ipc_ids *ids, loff_t pos,
 		ipc = idr_find(&ids->ipcs_idr, pos);
 		if (ipc != NULL) {
 			*new_pos = pos + 1;
-			ipc_lock_by_ptr(ipc);
+			rcu_read_lock();
+			ipc_lock_object(ipc);
 			return ipc;
 		}
 	}
diff --git a/ipc/util.h b/ipc/util.h
index 0a362ff..c5f3338b 100644
--- a/ipc/util.h
+++ b/ipc/util.h
@@ -171,19 +171,12 @@ static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm)
 	assert_spin_locked(&perm->lock);
 }
 
-static inline void ipc_lock_by_ptr(struct kern_ipc_perm *perm)
-{
-	rcu_read_lock();
-	ipc_lock_object(perm);
-}
-
 static inline void ipc_unlock(struct kern_ipc_perm *perm)
 {
 	ipc_unlock_object(perm);
 	rcu_read_unlock();
 }
 
-struct kern_ipc_perm *ipc_lock_check(struct ipc_ids *ids, int id);
 struct kern_ipc_perm *ipc_obtain_object_check(struct ipc_ids *ids, int id);
 int ipcget(struct ipc_namespace *ns, struct ipc_ids *ids,
 			struct ipc_ops *ops, struct ipc_params *params);
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index de89923..5da91b0 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -207,9 +207,22 @@ else
 fi
 maintainer="$name <$email>"
 
+# Try to determine distribution
+if [ -e $(which lsb_release) ]; then
+       codename=$(lsb_release --codename --short)
+       if [ "$codename" != "" ]; then
+		distribution=$codename
+       else
+		distribution="UNRELEASED"
+		echo "WARNING: The distribution could NOT be determined!"
+       fi
+else
+       echo "HINT: Install lsb_release binary, this helps to identify your distribution!"
+fi
+
 # Generate a simple changelog template
 cat <<EOF > debian/changelog
-linux-upstream ($packageversion) unstable; urgency=low
+linux-upstream ($packageversion) $distribution; urgency=low
 
   * Custom built Linux kernel.
 
@@ -223,10 +236,10 @@ This is a packacked upstream version of the Linux kernel.
 The sources may be found at most Linux ftp sites, including:
 ftp://ftp.kernel.org/pub/linux/kernel
 
-Copyright: 1991 - 2009 Linus Torvalds and others.
+Copyright: 1991 - 2013 Linus Torvalds and others.
 
 The git repository for mainline kernel development is at:
-git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
+git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by

[-- Attachment #5: LTP_RUN_ON-2013_Jul_25-12h_47m_36s.log --]
[-- Type: application/octet-stream, Size: 4790 bytes --]

Test Start Time: Thu Jul 25 12:47:37 2013
-----------------------------------------
Testcase                       Result     Exit Value
--------                       ------     ----------
pipeio_1                       PASS       0    
pipeio_3                       PASS       0    
pipeio_4                       PASS       0    
pipeio_5                       PASS       0    
pipeio_6                       PASS       0    
pipeio_8                       PASS       0    
sem01                          PASS       0    
sem02                          PASS       0    
message_queue_test_01          PASS       0    
message_queue_test_02_get      PASS       0    
message_queue_test_02_snd      PASS       0    
message_queue_test_02_rcv      PASS       0    
message_queue_test_02_ctl      PASS       0    
message_queue_test_04          PASS       0    
message_queue_test_05          PASS       0    
pipe_test_01                   PASS       0    
pipe_test_02                   PASS       0    
semaphore_test_01              PASS       0    
semaphore_test_02              PASS       0    
semaphore_test_03              PASS       0    
shmem_test_01                  PASS       0    
shmem_test_02                  PASS       0    
shmem_test_03                  PASS       0    
shmem_test_04                  PASS       0    
shmem_test_05                  PASS       0    
shmem_test_06                  PASS       0    
shmem_test_07                  PASS       0    
signal_test_01                 PASS       0    
signal_test_02                 PASS       0    
signal_test_03                 PASS       0    
signal_test_04                 PASS       0    
signal_test_05                 PASS       0    
signal_test_06                 PASS       0    
signal_test_07                 PASS       0    
msgctl01                       PASS       0    
msgctl02                       PASS       0    
msgctl03                       PASS       0    
msgctl04                       PASS       0    
msgctl05                       PASS       0    
msgctl06                       PASS       0    
msgctl07                       PASS       0    
msgctl08                       PASS       0    
msgctl09                       PASS       0    
msgctl10                       PASS       0    
msgctl11                       PASS       0    
msgget01                       PASS       0    
msgget02                       PASS       0    
msgget03                       PASS       0    
msgget04                       PASS       0    
msgrcv01                       PASS       0    
msgrcv02                       PASS       0    
msgrcv03                       PASS       0    
msgrcv04                       PASS       0    
msgrcv05                       PASS       0    
msgrcv06                       PASS       0    
msgsnd01                       PASS       0    
msgsnd02                       PASS       0    
msgsnd03                       PASS       0    
msgsnd04                       PASS       0    
msgsnd05                       PASS       0    
msgsnd06                       PASS       0    
semctl01                       PASS       0    
semctl02                       PASS       0    
semctl03                       PASS       0    
semctl04                       PASS       0    
semctl05                       PASS       0    
semctl06                       PASS       0    
semctl07                       PASS       0    
semget01                       PASS       0    
semget02                       PASS       0    
semget03                       PASS       0    
semget05                       PASS       0    
semget06                       PASS       0    
semop01                        PASS       0    
semop02                        PASS       0    
semop03                        PASS       0    
semop04                        PASS       0    
semop05                        PASS       0    
shmat01                        PASS       0    
shmat02                        PASS       0    
shmat03                        PASS       0    
shmctl01                       PASS       0    
shmctl02                       PASS       0    
shmctl03                       PASS       0    
shmctl04                       PASS       0    
shmdt01                        PASS       0    
shmdt02                        PASS       0    
shmget01                       PASS       0    
shmget02                       PASS       0    
shmget03                       PASS       0    
shmget04                       PASS       0    
shmget05                       PASS       0    

-----------------------------------------------
Total Tests: 92
Total Failures: 0
Kernel Version: 3.11.0-rc2-next20130725-4-iniza-small
Machine Architecture: x86_64
Hostname: fambox


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-25 10:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-25 10:53 [mmots][next-20130725] "ipc,shm: dont leave do_shmat with rcu lock held" needs a refresh Sedat Dilek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.