Bug 361770 - Missing F_ADD_SEALS
Summary: Missing F_ADD_SEALS
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-14 15:52 UTC by Marc-Andre Lureau
Modified: 2021-02-20 20:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
[PATCH] Linux: Add wrapper for fcntl(F_{GET,ADD}_SEALS) (7.38 KB, patch)
2020-10-13 11:17 UTC, Allison Karlitskaya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc-Andre Lureau 2016-04-14 15:52:38 UTC
valgrind crashes on linux fcntl(F_ADD_SEALS,..)

valgrind: m_syswrap/syswrap-linux.c:5416 (vgSysWrap_linux_sys_fcntl_before): Assertion 'Unimplemented functionality' failed.


thanks

Reproducible: Always
Comment 1 Julian Seward 2017-05-08 13:49:00 UTC
It would help if you had a test case for this.
Comment 2 Allison Karlitskaya 2020-10-13 11:17:54 UTC
Created attachment 132318 [details]
[PATCH] Linux: Add wrapper for fcntl(F_{GET,ADD}_SEALS)

Add also a testcase to memcheck/tests/linux, enabled according to a new
check for memfd_create() in configure.ac.
Comment 3 Allison Karlitskaya 2020-11-11 08:59:41 UTC
ping?
Comment 4 Allison Karlitskaya 2021-01-08 14:45:22 UTC
ping again?
Comment 5 Mark Wielaard 2021-02-20 20:31:54 UTC
Sorry this took so long. Especially since the patch was perfect.
Pushed as:

commit dec30506534c0c1bb0e77e62275e697b041e3c3a
Author: Allison Karlitskaya <allison.karlitskaya@redhat.com>
Date:   Tue Oct 13 13:17:11 2020 +0200

    Linux: Add wrapper for fcntl(F_{GET,ADD}_SEALS)
    
    Add also a testcase to memcheck/tests/linux, enabled according to a new
    check for memfd_create() in configure.ac.
    
    https://bugs.kde.org/show_bug.cgi?id=361770