Changeset 241
- Timestamp:
- Jan 12, 2003, 10:17:31 PM (23 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/xwpsecty.h
r240 r241 459 459 460 460 /* 461 *@@ RING0STATUS:461 *@@ XWPSECSTATUS: 462 462 * 463 463 *@@added V1.0.1 (2003-01-10) [umoeller] 464 464 */ 465 465 466 typedef struct _ RING0STATUS466 typedef struct _XWPSECSTATUS 467 467 { 468 468 BOOL fLocalSecurity; // TRUE if XWPSEC32.SYS is active 469 ULONG cGranted, // if so, no. of syscalls where access was granted 469 470 // the following fields are only set if fLocalSecurity is TRUE 471 472 ULONG cbAllocated; // fixed memory currently allocated in ring 0 473 ULONG cAllocations, // no. of allocations made since startup 474 cFrees; // no. of frees made since startup 475 USHORT cLogBufs, // current 64K log buffers in use 476 cMaxLogBufs; // max 64K log buffers that were ever in use 477 ULONG cLogged; // no. of syscalls that were logged 478 ULONG cGranted, // no. of syscalls where access was granted 470 479 cDenied; // ... and denied 471 } RING0STATUS, *PRING0STATUS; 480 } XWPSECSTATUS, *PXWPSECSTATUS; 481 472 482 473 483 /* ****************************************************************** … … 688 698 #define QUECMD_QUERYSTATUS 1 689 699 690 RING0STATUSStatus;700 XWPSECSTATUS Status; 691 701 692 702 #define QUECMD_QUERYLOCALUSER 2 … … 757 767 #define QUECMD_SETUSERDATA 7 758 768 759 struct 760 { 761 XWPSECID uid; 762 CHAR szUserName[XWPSEC_NAMELEN]; // user name 763 CHAR szFullName[XWPSEC_FULLNAMELEN]; // user's clear name 764 } SetUserData; 769 XWPUSERINFO SetUserData; 765 770 766 771 #define QUECMD_DELETEUSER 8 -
trunk/src/helpers/dosh.c
r240 r241 2587 2587 *@@added V0.9.16 (2001-10-19) [umoeller] 2588 2588 *@@changed V0.9.16 (2001-12-18) [umoeller]: fixed error codes 2589 *@@changed V1.0.1 (2003-01-10) [umoeller]: now allowing read for all modes 2589 2590 */ 2590 2591 … … 2631 2632 fsOpenFlags = OPEN_ACTION_CREATE_IF_NEW 2632 2633 | OPEN_ACTION_OPEN_IF_EXISTS; 2633 fsOpenMode |= OPEN_SHARE_DENY READWRITE2634 fsOpenMode |= OPEN_SHARE_DENYWRITE // OPEN_SHARE_DENYREADWRITE V1.0.1 (2003-01-10) [umoeller] 2634 2635 | OPEN_ACCESS_READWRITE; 2635 2636 // _Pmpf((__FUNCTION__ ": opening XOPEN_READWRITE_APPEND")); … … 2639 2640 fsOpenFlags = OPEN_ACTION_CREATE_IF_NEW 2640 2641 | OPEN_ACTION_REPLACE_IF_EXISTS; 2641 fsOpenMode |= OPEN_SHARE_DENY READWRITE2642 fsOpenMode |= OPEN_SHARE_DENYWRITE // OPEN_SHARE_DENYREADWRITE V1.0.1 (2003-01-10) [umoeller] 2642 2643 | OPEN_ACCESS_READWRITE; 2643 2644 // _Pmpf((__FUNCTION__ ": opening XOPEN_READWRITE_NEW")); … … 2940 2941 *@@changed V0.9.16 (2001-12-02) [umoeller]: added XOPEN_BINARY \r\n support 2941 2942 *@@changed V0.9.16 (2001-12-06) [umoeller]: added check for pFile != NULL 2943 *@@changed V1.0.1 (2003-01-10) [umoeller]: now forcing DosSetFileSize 2942 2944 */ 2943 2945 … … 3016 3018 // invalidate the cache 3017 3019 FREE(pFile->pbCache); 3020 3021 // force a writeout V1.0.1 (2003-01-10) [umoeller] 3022 DosSetFileSize(pFile->hf, pFile->cbCurrent); 3018 3023 } 3019 3024 }
Note:
See TracChangeset
for help on using the changeset viewer.