Questions tagged [darwin]
Darwin is the open source POSIX/UNIX operating system on which OSX is built
39 questions
-3
votes
1
answer
166
views
Console syslogd code 360
On MacOS's Console app which lists syslogd events on the system.log, there are no public definitions for the error numbers which is unhelpful and not in-line with transparency of linux systems. Apple ...
0
votes
1
answer
558
views
xattr: bad interpreter: No such file or directory
When I execute the xattr command, it returns the error:
/usr/local/bin/xattr: /usr/local/opt/[email protected]/bin/python3.11: bad interpreter: No such file or directory
file /usr/bin/xattr returns:
/usr/...
1
vote
0
answers
106
views
g++ setting proper @rpath when building SFML
I'm trying to build an SFML sample without xcode (for reasons :-)).
The prebuilt samples comes with:
pong> otool -L pong
pong:
@rpath/sfml-audio.framework/Versions/2.5.1/sfml-audio (...
0
votes
0
answers
107
views
open() fails on some files with sudo permission
Running on Darwin Kernel Version 22.1.0.
I have a program which goes through the devices in /dev/ directory to send an nvme command to them to get their ID information. On Linux the files I look for ...
0
votes
1
answer
697
views
What is the user 'mobile' for on iPad?
I just sshed to a jailbroken iPad(Pro 3, iOS 14.2), and found other than root and daemon, there's an existing user mobile, which seems to come with the system. I was wondering
what the user is for?
...
1
vote
2
answers
415
views
Is there a way to export aliases in macOS in the Korn Shell (ksh)?
Earlier versions of the Korn shell (ksh) allowed aliases to be exported to subshells by using the -x option, for example:
alias -x dog=cat
With the current version of macOS the ksh man page says:
&...
2
votes
1
answer
1k
views
darwinup: command not found
I need to use darwinup on my macOS (11.5) and it is just not founded by system. It seems to be default binary in OS X but somehow I don't have it. Do you know how could I get it? I didn't found any ...
14
votes
1
answer
28k
views
What does the time command do on zsh Mac terminal? And what is the output of "children"?
This is what I got from the terminal command "time".
shell 0.32s user 0.08s system 0% cpu 6:09.64 total
children 0.10s user 0.16s system 0% cpu 6:09.64 total
What is children?
-1
votes
1
answer
408
views
What are the benefits of XNU using Mach features compared to a full FreeBSD kernel? [closed]
The Darwin kernel is a hybrid of Mach and FreeBSD. What are the benefits of using such a hybrid architecture compared to a full FreeBSD kernel?
I'm not looking for subjective opinions of why this ...
-3
votes
2
answers
5k
views
Run the macOS desktop environment on Linux [closed]
As I know, macOS is using Darwin kernel and Darwin is a distribution of BSD. So macOS is in the UNIX family and can run most Linux / BSD / Solaris software on it.
Maybe there is a way to install ...
90
votes
6
answers
59k
views
Why is macOS often referred to as 'Darwin'?
In several languages, instead of returning something like "macOS", the command to view the operating system instead returns
Darwin
I see this in languages like R, and node.
Why is macOS ...
0
votes
1
answer
2k
views
What's the `darwin` in Mac? [duplicate]
In my Mac I execute the code:
import sys
print(sys.platform)
then get darwin, why it is not OSX. I don't know where to look for documentation on python sys module.
What's the darwin ?
2
votes
0
answers
127
views
Unkillable process: what does this PS command output mean?
This process couldn't be killed. I tried kill -9 and it's still hanging on by the skin of it's teeth:
What does ?E mean in the status column?
I think I have a systemic problem with this on my Mac ...
1
vote
1
answer
652
views
Installing GNU compilers on PureDarwin/Darwin?
I hope this is not off-topic, because there is no better place to ask this sort of questions on SO/SE. I have Downloaded and ran PureDarwin on QEMU using instructions here:
Now I ...
1
vote
1
answer
501
views
Is the source code for xnu-6153.60.66~39 available? (iOS 13.3 Kernel)
I cannot find xnu-6153.60.66~39 at https://opensource.apple.com/tarballs/xnu/ ! Does apple still open source the XNU Kernel?