Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supported fioclex for ioctl on macos #4129

Closed
wants to merge 29 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
0ea7121
Supported fioclex for ioctl on macos
geetanshjuneja Jan 9, 2025
1cbc0fd
cleanup
geetanshjuneja Jan 9, 2025
ac360ed
nits
geetanshjuneja Jan 9, 2025
77d4039
Added ioctl test
geetanshjuneja Jan 9, 2025
a99984c
fmt
geetanshjuneja Jan 9, 2025
18d5dcc
nits
geetanshjuneja Jan 9, 2025
add00c1
Fixed ioctl and added pipe test
geetanshjuneja Jan 10, 2025
37f7c2f
nits
geetanshjuneja Jan 10, 2025
1bcf34e
ignore pipe test for window
geetanshjuneja Jan 10, 2025
e52fafb
Preparing for merge from rustc
RalfJung Jan 10, 2025
31f6350
disable threading tests on freebsd for now
RalfJung Jan 10, 2025
11f70f2
fix clippy warning
RalfJung Jan 10, 2025
3dd4e1e
Merge pull request #4131 from RalfJung/rustup
RalfJung Jan 10, 2025
1f51d82
Switched FreeBSD to pthread_setname_np
YohDeadfall Jan 10, 2025
bd99bc7
Merge pull request #4132 from YohDeadfall/freebsd-thread-name-changes
oli-obk Jan 10, 2025
2f17551
minor changes
geetanshjuneja Jan 11, 2025
d1e52ee
Supported fioclex for ioctl on macos
geetanshjuneja Jan 11, 2025
cecd39c
Merge branch 'ioctl' of github.com:geetanshjuneja/miri into ioctl
geetanshjuneja Jan 11, 2025
386a182
Supported fioclex for ioctl on macos
geetanshjuneja Jan 11, 2025
063db4f
Supported fioclex for ioctl on macos
geetanshjuneja Jan 9, 2025
4e08e23
cleanup
geetanshjuneja Jan 9, 2025
05626b7
nits
geetanshjuneja Jan 9, 2025
433d076
Added ioctl test
geetanshjuneja Jan 9, 2025
04ba690
fmt
geetanshjuneja Jan 9, 2025
446fb77
nits
geetanshjuneja Jan 9, 2025
02bd4e3
Fixed ioctl and added pipe test
geetanshjuneja Jan 10, 2025
bb524e4
nits
geetanshjuneja Jan 10, 2025
d3d647f
minor changes
geetanshjuneja Jan 11, 2025
68fc8e6
Merge branch 'ioctl' of github.com:geetanshjuneja/miri into ioctl
geetanshjuneja Jan 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
nits
  • Loading branch information
geetanshjuneja committed Jan 9, 2025
commit ac360edf3b1691c2792cb859cba1baeaa4008c44
2 changes: 1 addition & 1 deletion src/shims/unix/fd.rs
Original file line number Diff line number Diff line change
@@ -192,7 +192,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
fn ioctl(&mut self, args: &[OpTy<'tcx>]) -> InterpResult<'tcx, Scalar> {
let this = self.eval_context_mut();

let [fd_num, cmd] = check_min_arg_count("fcntl", args)?;
let [fd_num, cmd] = check_min_arg_count("ioctl", args)?;
let fioclex = this.eval_libc_i32("FIOCLEX");

let fd_num = this.read_scalar(fd_num)?.to_i32()?;
Loading