Bug 494246 - syscall fsopen not wrapped
Summary: syscall fsopen not wrapped
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: 2024-10-07 15:49 UTC by Mark Wielaard
Modified: 2024-11-26 18:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wielaard 2024-10-07 15:49:53 UTC
Given the following program:

#include <stdio.h>
#include <sys/mount.h>
#include <unistd.h>

int main(void) {
        int fsd = fsopen("ext4", FSOPEN_CLOEXEC);
        printf("fsd: 0x%x\n", fsd);
        return 0;
}

WARNING: unhandled amd64-linux syscall: 430
Comment 1 Mark Wielaard 2024-10-09 11:39:38 UTC
Note that this syscall is part of a group of not yet wrapped syscalls:
fsopen, open_tree, move_mount, fsconfig, fsmount and fspick
Comment 2 Mark Wielaard 2024-11-26 18:21:30 UTC
commit 4044bcea0427853fc44a3d02a0fc0b2a81935452
Author: Mark Wielaard <mark@klomp.org>
Date:   Tue Nov 26 19:00:34 2024 +0100

    Add open_tree, move_mount, fsopen, fsconfig, fsmount, fspick linux syswraps
    
    Shared linux syscalls implementing various file system mount tasks.
    Since linux kernel version 5.2.
    
    Check arguments and track file descriptors.
    
    https://bugs.kde.org/show_bug.cgi?id=494246