syscalls: ulimit01; Convert to the new library
PATCH 1/1 syscalls: ulimit01; Convert to the new library
Linux does not implement UL_GMEMLIM, UL_GDESLIM and UL_GSHMEMLIM so we keep only the UL_GETFSIZE and UL_SETFSIZE.
--- testcases/kernel/syscalls/ulimit/README | 4 - testcases/kernel/syscalls/ulimit/ulimit01.c | 267 ++------------------ 2 files changed, 21 insertions(+), 250 deletions(-) delete mode 100644 testcases/kernel/syscalls/ulimit/README
testcases/kernel/syscalls/ulimit/README deleted +0 -4
@@ -1,4 +0,0 @@ -Warning: This routine is obsolete. The include file is no - longer provided by glibc. Use getrlimit(2), setrlimit(2) - and sysconf(3) instead. For the shell command ulimit, see - bash(1).
testcases/kernel/syscalls/ulimit/ulimit01.c +21 -246
281 lines not on this page · raw message
Signature · 5 lines
2.52.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi,
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
[email protected]
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Cyril,
Quoted 2 lines
Linux does not implement
UL_GMEMLIM,UL_GDESLIMandUL_GSHMEMLIMso we keep only theUL_GETFSIZEandUL_SETFSIZE.
...
LGTM, thanks for the cleanup.
Quoted 2 lines
+/*\
+ * Tests the basic functionality ofulimit()withUL_GETFSIZEandUL_SETFSIZE.
nit: Could you please change before merge ulimit() to :manpage:ulimit(3)
so that we get link to https://man7.org/linux/man-pages/man3/ulimit.3.html ?
FYI kernel uses automarkup to recognise various things e.g. git hash [1]. Maybe we could employ it for git kernel commits.
But for man page it can have false positives [2].
[1] https://lore.kernel.org/linux-doc/[email protected]/
[2] https://lore.kernel.org/linux-doc/aWqg5XwPRXlzq4FI@devuan/
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Quoted 5 lines
Quoted 2 lines
+/*\
+ * Tests the basic functionality ofulimit()withUL_GETFSIZEandUL_SETFSIZE.nit: Could you please change before merge
ulimit()to :manpage:ulimit(3)
so that we get link to https://man7.org/linux/man-pages/man3/ulimit.3.html ?
Fixed and pushed, thanks.
Quoted 6 lines
FYI kernel uses automarkup to recognise various things e.g. git hash [1]. Maybe we could employ it for git kernel commits.
But for man page it can have false positives [2].[1] https://lore.kernel.org/linux-doc/[email protected]/
[2] https://lore.kernel.org/linux-doc/aWqg5XwPRXlzq4FI@devuan/
I think that we should have the kernel commits mostly in the tags which gets translated based on the tag type, so this shouldn't be needed.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Quoted 13 lines
Hi!
Quoted 5 lines
Quoted 2 lines
+/*\
+ * Tests the basic functionality ofulimit()withUL_GETFSIZEandUL_SETFSIZE.nit: Could you please change before merge
ulimit()to :manpage:ulimit(3)
so that we get link to https://man7.org/linux/man-pages/man3/ulimit.3.html ?Fixed and pushed, thanks.
Quoted 3 lines
FYI kernel uses automarkup to recognise various things e.g. git hash [1]. Maybe we could employ it for git kernel commits.
But for man page it can have false positives [2].
Quoted 5 lines
Quoted 2 lines
[1] https://lore.kernel.org/linux-doc/[email protected]/
[2] https://lore.kernel.org/linux-doc/aWqg5XwPRXlzq4FI@devuan/I think that we should have the kernel commits mostly in the tags which gets translated based on the tag type, so this shouldn't be needed.
Agree, but people keep adding it into our /*\ docparse section as well.
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp