Comments (6)
Can you provide a reference to the C & Rust interfaces you're referring to for i32
? I looked up the definition in the kernel source code, which I believe is definitive, and it's declared uint32_t
: https://elixir.bootlin.com/linux/v5.10-rc1/source/include/uapi/linux/fuse.h#L593
from fuser.
Aw, that is from where the u32 comes from maybe.
The standard open call use standard int: https://man7.org/linux/man-pages/man2/open.2.html
Similarly Rust: https://doc.rust-lang.org/std/os/unix/fs/trait.OpenOptionsExt.html#tymethod.custom_flags
Also fuse expose them as int: http://libfuse.github.io/doxygen/structfuse__file__info.html
I mean, it would be just more convenient for my use case, but it is not that big of an issue, not at all.
from fuser.
Ah yes, I see. I'm going to leave it alone for now, but I have an issue open to review all of the usage of signed vs unsigned, as I know there are other inconsistencies which matter: #65
from fuser.
No problem, I just found this (maybe) inconsistency and I waited to point it out!
I close this!
from fuser.
Re-opening this. I looked into it more and libfuse treats the value as signed, even though its specified as unsigned in the kernel 🤔
I'll address this as part of #65
from fuser.
Thanks for listening to my feedback :)
from fuser.
Related Issues (20)
- Wrong parameter name of `symlink`
- Release next version to remove users dep? HOT 1
- umask always zero? HOT 1
- Simple example is incorrect HOT 3
- Support for asynchronous direct file I/O
- Cannot be built on OpenBSD HOT 1
- How spawn thread for fs `!Send`? HOT 1
- Instant SegFault on Alpine HOT 1
- Infinite loop in `hello.rs` HOT 2
- CUSE support?
- panic!() in Filesystem::init() will hang the FS stack
- Multithreading Support? HOT 15
- macOS FUSE-T support HOT 4
- Refresh documentation
- Looking for more examples of fuser usage. HOT 2
- issue with auto unmount on android HOT 2
- Filesystem hangs sometimes on Android
- Implement `Hash` for `FileAttr`?
- Why does `mount2()` not return in `fuser` but in `libfuse` HOT 1
- What are the ttl and generation arguments for in the replies? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuser.