bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Uncouple netfs_make_protid (netfs_make_peropen()) function calls


From: Svante Signell
Subject: [PATCH] Uncouple netfs_make_protid (netfs_make_peropen()) function calls in Hurd.
Date: Thu, 27 Jan 2022 23:07:34 +0100
User-agent: Evolution 3.30.5-1.1

Hello,

Attached are two patches, hopefully useful in decoupling the nested function
calls in libnetfs: netfs_make_protid (netfs_make_peropen()). Hopefully, the
patches is useful to enhance error tracking. Due to indentation differences they
are larger than they would be if not.

GIT/hurd:
This patch applies to the upstream GIT repo:
0001-Uncouple-nested-function-calls-netfs_make_protid-net.patch

Debian/hurd:
This patch is for Debian:
0043-Uncouple-nested-function-calls-netfs_make_protid-net.patch
It is modified to account for the changes to libnetfs/file-exec.c in
0041-libnetfs-libtrivs-Shield-S_file_exec_paths-from-canc.patch
not yet committed upstream.

The attached patches could be broken down to a series of patches, one for each
C-file. However, the function interface for netfs_make_peropen() and
netfs_make_protid() is preferably the same as the corresponding functions in
libdiskfs. If/when making such changes all functions and function calls would
have to be modified simultaneously.

Thanks!

Attachment: 0001-Uncouple-nested-function-calls-netfs_make_protid-net.patch
Description: Text Data

Attachment: 0043-Uncouple-nested-function-calls-netfs_make_protid-net.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]