Search results for

smb big sur

11,796 results found

Post

Replies

Boosts

Views

Activity

Reply to What are the locking rules for VFS and VNOP operations?
I'm observing all sorts of race conditions occurring in various VNOPs my custom filesystem implements. I'm inclined to attribute this to my implementation not following the locking rules expected by the system of a 3rd party filesystem as well as it should. ... Thus my question, what are the locking rules for VFS and VNOP operations? The term rules here is very misleading. On it's own, the VFS system doesn't necessarily require any locks at all. When you look at something like this: I've looked at how locking is done in Apple's own implementation of Samba and NFS clients. The Samba client uses read/write locks to protect its node from data races. While the NFS client uses mutex locks for the same purpose. While some of those looks are about the vfs implemenation itself (VNOP_LOOKUP is one example), most of the locking are about ensuring the the file system itself behave in a sane matter. As the simplest example, it's hard to see how a basic operation like file moving could be implemented unl
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’24
Reply to I don't know how I can test my Testing App on my iPhone anymore
[quote='806393022, karl-police, /thread/764956?answerId=806393022#806393022, /profile/karl-police'] If I click on Individual it just tells me that I can't enroll at the time. [/quote] That’s weird. We can’t debug issues like this here on DevForums because it requires sharing of personal info. If, after us talking here, you decide you want to pay to join the Apple Developer Program, I recommend that you open a formal support case via Apple > Developer > Contact Us. However, before we do that I’d like to clarify the big picture. You wrote: [quote='764956021, karl-police, /thread/764956, /profile/karl-police'] But I want to do it in an official way. [/quote] There is an official way to deploy apps to an iPhone without paying to join the Apple Developer Program. However, it requires you to use Xcode (or Swift Playgrounds). These support the concept of free provisioning, otherwise known as a Personal Team. You log in with any Apple ID and it lets you run your app on your own device. IMPORTANT The Pe
Sep ’24
What are the locking rules for VFS and VNOP operations?
I'm observing all sorts of race conditions occurring in various VNOPs my custom filesystem implements. I'm inclined to attribute this to my implementation not following the locking rules expected by the system of a 3rd party filesystem as well as it should. I've looked at how locking is done in Apple's own implementation of Samba and NFS clients. The Samba client uses read/write locks to protect its node from data races. While the NFS client uses mutex locks for the same purpose. I realised that I don't have a clear model in my head of how locking should be done properly. Thus my question, what are the locking rules for VFS and VNOP operations? Thanks.
4
0
769
Sep ’24
Reply to Usb keyboard will wake up system when sending command to it at the time system starting to sleep
Does anyone know from a hardware or software point of view, what kind of usb keyboard operation will cause the macos system to wake up? Starting up with a few questions: What do you mean by wake up kernel's concept of sleep is very different than user spaces, so there's a big difference between the screen woke up again and the USB bus powered up again. What API(s) are you actually communicating through? One of the user space user clients (which one?) or are the commands coming from a a DEXT or IOKit driver? Are there any other components involved here, particularly 3rd party drivers? Or can someone give us guidance, how to debug and solve the usb keyboard caused by the wake up system problem on Mac OS system? Conceptually, you can broadly think of sleep/wake as being managed at three different levels: User space apps can directly defer/prevent sleep, either directly using APIs like the ones in QA1340 or indirectly because an API the called did the same sort of thing. One thing to note here is that th
Sep ’24
Reply to Sign-In with Apple App Transfer and User Migration
Hi @snemiot, You wrote: If I understand correctly, after the migration if a user performs a sign-in with Apple, they will send an access_token that differs from the one they were sending when the app was assigned to the old team. In case I didn't take any action that means that my system would think this was a new user given the access_token has never been seen before, and therefore it will create a new user. Is that correct? Correct, but the app's migration to a new team (from Team A to Team B) also causes all tokens and identifiers for the user to change due to the new association of the recipient team (Team B). So, along with the access_token, the refresh_token, id_token, user ID (id_token.sub) as well as the private email address would differ from what Team A received, because all of this data is team-scoped. Next, you wrote: [...] Does that make sense? Would it work? I'm not a fan of messing with the login logic (having a look at transfer_ids, looking for matches, and so on), especially because there doe
Topic: Privacy & Security SubTopic: General Tags:
Sep ’24
Sign-In with Apple App Transfer and User Migration
Hi all, I am in the process of preparing for an app transfer, and have sign-in with apple enabled. I have read the documentation thoroughly and multiple times, yet there are a few things I'd like to have a confirmation about, before taking the leap and risking that some users might experience any issues. If I understand correctly, after the migration if a user performs a sign-in with Apple, they will send an access_token that differs from the one they were sending when the app was assigned to the old team. In case I didn't take any action that means that my system would think this was a new user given the access_token has never been seen before, and therefore it will create a new user. Is that correct? Ok, so if that assumption is correct, I'd like to have a confirmation also of the way I intend to fix this, since we're doing an internal transfer and the database is going to be the same. I would get a TransferID for all users in my database that have used sign-in with Apple (I have already done that for one o
4
0
1.6k
Sep ’24
Why is the speed of metal shading kernel so slow?
Hi, I am recently writing metal shader language to parallelize the algorithms to accelerate the speed of it. I created a simple example to show the acceleration result of it. Since Rust is used in our algorithm, so I used metal-rs as the wrapper to execute the MSL kernels from rust side. In this example, I am calculating the result of two arrays, and kernel looks like: kernel void two_array_addition_2( constant uint* a [[buffer(0)]], constant uint* b [[buffer(1)]], device uint* c [[buffer(2)]], uint idx [[thread_position_in_grid]] ) { c[idx] = a[idx] + b[idx]; } in the main.rs, you can see a function called execute_kernel() , this function has all it needs to execute the kernel in MSL (such as commandEncoder, piplelineState, etc). use core::mem; use metal::{Buffer, MTLSize}; use objc::rc::autoreleasepool; use std::time::Instant; use two_array_addition::abstractions::state::MetalState; fn execute_kernel( name: &str, state: &MetalState, input_a: &Buffer, input_b: &Buffer, output_c: &Buffer,
1
0
684
Sep ’24
Reply to App was crashing in xcode 16 due to Quicklook UI framework
@DTS Engineer Having the same problem here: building an app on Xcode 16.0 on macOS Sonoma 14.7 results in an application that crashes on macOS Big Sur Intel machine with the same crash as mentioned above. Building with Xcode 15.4 does not have this issue. However, we cannot build this branch on Xcode 15.x anymore due to code changes for Xcode 16 compatibility. Is there a workaround? We're now stuck in an unreleasable state!
Topic: UI Frameworks SubTopic: AppKit Tags:
Sep ’24
Bug iOS 18 sur la musique
Bonjour , Je ne suis pas le seul à avoir remarqué ce problème : Quand on écoute de la musique , que ce soit avec des AirPods ou non , des qu’on augmente le son et bien la musique se coupe . C’est assez désagréable Avez vous la solution
1
0
245
Sep ’24
Apple Carplay iOS 18 and Toyota
I made the mistake of downloading the new IOS for my Iphone 12 without thinking about the connection issues with Toyota CarPlay. Big mistake for me. Now I have a 1/2 connection to my new 2024 Corolla Cross Hybrid AND my 2023 RAV4 Prime (both wireless connections) I can make a call, but can’t connect through CarPlay to an incoming call; I can send a text but but cannot hear / see when a text is received.
17
0
5.4k
Sep ’24
Issues found in iPhone XS iOS 18 update.
Hi Apple, I'm a big fan of your emerging technology, but I recently updated my iPhone XS to iOS 18. Since then, I've encountered a couple of issues. First, whenever I use Apple Music and lock the phone, the currently playing music pauses for a second before resuming. This issue repeats 3-4 times when the phone is locked before the music eventually plays smoothly, but it happens again when I unlock the phone. It's quite irritating. Additionally, I've noticed a problem with vocal shortcuts. I assigned the shortcut Lumos to turn on the flashlight. While the toggle is activated, the flashlight itself doesn't turn on.
3
0
5.4k
Sep ’24