Re: [PATCH] sparc: semtimedop() unreachable due to comparison error

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

 



From: Rob Gardner <rob.gardner@xxxxxxxxxx>
Date: Mon,  2 Mar 2015 23:16:55 -0700

> A bug was reported that the semtimedop() system call was always
> failing eith ENOSYS.
> 
> Since SEMCTL is defined as 3, and SEMTIMEDOP is defined as 4,
> the comparison "call <= SEMCTL" will always prevent SEMTIMEDOP
> from getting through to the semaphore ops switch statement.
> 
> This is corrected by changing the comparison to "call <= SEMTIMEDOP".
> 
> Orabug: 20633375
> 
> Signed-off-by: Rob Gardner <rob.gardner@xxxxxxxxxx>

Amazing how something like this can be broken for so long.

Applied and queued up for -stable, thanks Rob.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux