From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Stancek Date: Tue, 4 Sep 2018 04:10:28 -0400 (EDT) Subject: [LTP] [PATCH v2 4/4] syscalls/mlock202: Add new testcase In-Reply-To: <1945225887.43673570.1535633035153.JavaMail.zimbra@redhat.com> References: <864746561.43466655.1535545169373.JavaMail.zimbra@redhat.com> <1535699602-28185-1-git-send-email-yangx.jy@cn.fujitsu.com> <1535699602-28185-2-git-send-email-yangx.jy@cn.fujitsu.com> <1945225887.43673570.1535633035153.JavaMail.zimbra@redhat.com> Message-ID: <1760945915.44375868.1536048628588.JavaMail.zimbra@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it ----- Original Message ----- > > > ----- Original Message ----- > > Check various errnos for mlock2(2) since kernel v2.6.9. > > > > Note: > > 1) We use tst_syscall() to check if mlock2() is supported. > > 2) since kernel v2.6.9, the limits and permissions of mlock2() > > changed, so we just check mlock2() since the version. > > > > Signed-off-by: Xiao Yang > > Ack Series pushed with few tweaks to 3/4: - couple variables renamed - added comments - vec allocated statically, dropped cleanup() Thanks, Jan