commit | 9756abe091da7e848e7044b43c6efbe05a244d51 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Jan 01 12:02:02 2013 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Jan 01 12:08:29 2013 -0800 |
tree | c47292cb15c2fce2f84076fa229bf49ca3b7764c | |
parent | d416e4ad90c5e67627fae48a3aba968738499327 [diff] |
vz_chroot(): fix off-by-one in sigaction() argument According to bits/signum.h, NSIG is the biggest signal number + 1, so fix the for() loop accordingly. Found while using valgrind: ==775013== Warning: bad signal number 65 in sigaction() Signed-off-by: Kir Kolyshkin <kir@openvz.org>