cifs-utils: fix problems with credcaches with overridden process creds
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | data_blob: remove need for replace.hdata_blob.c | +4 | 0 replies | |
| 2/8 | spengo.c/asn1.c: remove need for replace.hasn1.c spnego.c | +2 | 0 replies | |
| 3/8 | cifs.upcall: remove need for replace.hcifs.upcall.c | +19 | 0 replies | |
| 4/8 | replace.h: remove itconfigure.ac replace.h | +1 | 0 replies | |
| 5/8 | treewide: Eliminate SAFE_FREEcifs.upcall.c mount.cifs.c | +15 | 0 replies | |
| 6/8 | data_blob: Eliminate _PUBLIC_data_blob.c data_blob.h | +6 | 0 replies | |
| 7/8 | cifs.upcall: unset $KRB5CCNAME when creating new credcache from keytabcifs.upcall.c | +6 | 2 replies | |
| 8/8 | cifs.upcall: don't do env scraping when uid is 0cifs.upcall.8.in cifs.upcall.c | +13 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [cifs-utils PATCH 0/8] cifs-utils: fix problems with credcaches with overridden process creds
The main impetus for this set is patch #7, which is a one-liner. #8 may be overkill, but I do think that it's the right approach, at least for now.
In order to get all of this to build however, we need to eliminate the unsetenv override in replace.h, or add a test for unsetenv. I chose the former, so the real patches are preceded by a number of cleanup patches.
Jeff Layton (8):
data_blob: remove need for replace.h
spengo.c/asn1.c: remove need for replace.h
cifs.upcall: remove need for replace.h
replace.h: remove it
treewide: Eliminate SAFE_FREE
data_blob: Eliminate _PUBLIC_
cifs.upcall: unset $KRB5CCNAME when creating new credcache from keytab cifs.upcall: don't do env scraping when uid is 0
asn1.c | 2 +- cifs.upcall.8.in | 5 +- cifs.upcall.c | 56 +++-- configure.ac | 2 +- data_blob.c | 11 +- data_blob.h | 10 +- mount.cifs.c | 16 +- replace.h | 674 ------------------------------------------------------- spnego.c | 2 +- 9 files changed, 64 insertions(+), 714 deletions(-) delete mode 100644 replace.h
Signature · 1 line
2.9.3