|
Last change
on this file since 118 was 1, checked in by Paul Smedley, 19 years ago |
|
Initial code import
|
|
File size:
712 bytes
|
| Line | |
|---|
| 1 | ***************
|
|---|
| 2 | *** 262,273 ****
|
|---|
| 3 | {
|
|---|
| 4 | BOOL alloced_cli = False;
|
|---|
| 5 |
|
|---|
| 6 | /* Check the effective uid - make sure we are not setuid */
|
|---|
| 7 | if (is_setuid_root()) {
|
|---|
| 8 | DEBUG(0,("libsmb based programs must *NOT* be setuid root.\n"));
|
|---|
| 9 | return NULL;
|
|---|
| 10 | }
|
|---|
| 11 | -
|
|---|
| 12 | if (!cli) {
|
|---|
| 13 | cli = SMB_MALLOC_P(struct cli_state);
|
|---|
| 14 | if (!cli)
|
|---|
| 15 | --- 262,274 ----
|
|---|
| 16 | {
|
|---|
| 17 | BOOL alloced_cli = False;
|
|---|
| 18 |
|
|---|
| 19 | + #ifndef __OS2__
|
|---|
| 20 | /* Check the effective uid - make sure we are not setuid */
|
|---|
| 21 | if (is_setuid_root()) {
|
|---|
| 22 | DEBUG(0,("libsmb based programs must *NOT* be setuid root.\n"));
|
|---|
| 23 | return NULL;
|
|---|
| 24 | }
|
|---|
| 25 | + #endif /* __OS2__ */
|
|---|
| 26 | if (!cli) {
|
|---|
| 27 | cli = SMB_MALLOC_P(struct cli_state);
|
|---|
| 28 | if (!cli)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.