flock possibly missing in SMB3 POSIX extensions?

Aurélien Aptel aaptel at suse.com
Thu Mar 11 16:58:30 UTC 2021


Little update on that topic: I was looking into the cifs.ko SMB1 flock
code and it turns out advisory locks were already in the SMB1 Unix
extensions.

After a quick grep in samba I found smb_set_posix_lock() in
s3/smbd/trans2.c so presumably some of the logic in the server is
already there.

Cheers,
-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)




More information about the samba-technical mailing list