This commit is contained in:
parent
f17518f3fd
commit
715bc361da
|
|
@ -426,6 +426,9 @@ begin
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if sSrcPath = '' then
|
||||||
|
exit;
|
||||||
|
|
||||||
if IntBlockNewFile.mode = abkNone then
|
if IntBlockNewFile.mode = abkNone then
|
||||||
exit
|
exit
|
||||||
else if IntBlockNewFile.mode = abkBlock then
|
else if IntBlockNewFile.mode = abkBlock then
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -3,7 +3,7 @@
|
||||||
interface
|
interface
|
||||||
|
|
||||||
const
|
const
|
||||||
BUILD_DT = '2026-03-26 17:32:45';
|
BUILD_DT = '2026-03-26 19:57:43';
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2819,7 +2819,8 @@ begin
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//sBlkSerial := EjectDrive2(sDrive, ModePolicy.IgrUsbSerialList, true, true);
|
//mgkim 커널드라이브 차단만 사용하려니,, 알람부터 결제까지 수정할게 많네..
|
||||||
|
sBlkSerial := EjectDrive2(sDrive, ModePolicy.IgrUsbSerialList, true, true);
|
||||||
|
|
||||||
if bNoLogPop then
|
if bNoLogPop then
|
||||||
exit;
|
exit;
|
||||||
|
|
@ -5517,7 +5518,7 @@ begin
|
||||||
begin
|
begin
|
||||||
|
|
||||||
|
|
||||||
_Trace('[MGKIM] Usb ReadOnly!!!! .. (%s) <> (%s)',[sExceptUsbDevKn_, PO.IgrUsbSerialsKn]);
|
//_Trace('[MGKIM] Usb ReadOnly!!!! .. (%s) <> (%s)',[sExceptUsbDevKn_, PO.IgrUsbSerialsKn]);
|
||||||
if sExceptUsbDevKn_ <> PO.IgrUsbSerialsKn then
|
if sExceptUsbDevKn_ <> PO.IgrUsbSerialsKn then
|
||||||
begin
|
begin
|
||||||
sExceptUsbDevKn_ := PO.IgrUsbSerialsKn;
|
sExceptUsbDevKn_ := PO.IgrUsbSerialsKn;
|
||||||
|
|
@ -5527,7 +5528,6 @@ begin
|
||||||
if not (FltCtrlPolicy_ = DWORD(dsReadOnly)) then
|
if not (FltCtrlPolicy_ = DWORD(dsReadOnly)) then
|
||||||
begin
|
begin
|
||||||
|
|
||||||
|
|
||||||
FltCtrl_.SetPolicy(DWORD(BDC_USB_DISK), DWORD(dsReadOnly), 1);
|
FltCtrl_.SetPolicy(DWORD(BDC_USB_DISK), DWORD(dsReadOnly), 1);
|
||||||
FltCtrl_.SetPolicy(DWORD(BDC_EXTERNALHDD), DWORD(dsReadOnly), 1);
|
FltCtrl_.SetPolicy(DWORD(BDC_EXTERNALHDD), DWORD(dsReadOnly), 1);
|
||||||
FltCtrlPolicy_ := DWORD(dsReadOnly);
|
FltCtrlPolicy_ := DWORD(dsReadOnly);
|
||||||
|
|
@ -7577,7 +7577,7 @@ begin
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DeviceGuard_.AddUsbPortExcept(InfoList[0], InfoList[1],InfoList[2]);
|
//DeviceGuard_.AddUsbPortExcept(InfoList[0], InfoList[1],InfoList[2]);
|
||||||
if (vid <> 0) and (pid <> 0) then
|
if (vid <> 0) and (pid <> 0) then
|
||||||
begin
|
begin
|
||||||
// _Trace('[MGKIM] UpdateIgrUsbSerial4FltCtr.. Port PID: %x, VID: %x, Serial: %s',[vid, pid,InfoList[2]]);
|
// _Trace('[MGKIM] UpdateIgrUsbSerial4FltCtr.. Port PID: %x, VID: %x, Serial: %s',[vid, pid,InfoList[2]]);
|
||||||
|
|
@ -7726,31 +7726,31 @@ begin
|
||||||
DRIVE_FIXED,
|
DRIVE_FIXED,
|
||||||
DRIVE_REMOVABLE :
|
DRIVE_REMOVABLE :
|
||||||
begin
|
begin
|
||||||
// if nType = DRIVE_REMOVABLE then // Fixed 도 적용 되도록 롤백 (4005) 25_0917 17:39:41 kku
|
// if nType = DRIVE_REMOVABLE then // Fixed 도 적용 되도록 롤백 (4005) 25_0917 17:39:41 kku , MGKIM
|
||||||
begin
|
// begin
|
||||||
if ModePolicy.UsbBlockKind = ubkReadOnly then
|
// if ModePolicy.UsbBlockKind = ubkReadOnly then
|
||||||
begin
|
// begin
|
||||||
if ThdUsbMonRO_ = nil then
|
// if ThdUsbMonRO_ = nil then
|
||||||
begin
|
// begin
|
||||||
if IsReadOnlyByWriteProbe(sDrive) <> 1 then
|
// if IsReadOnlyByWriteProbe(sDrive) <> 1 then
|
||||||
begin
|
// begin
|
||||||
GetDriveDetail(sDrive, @DriveInfo);
|
// GetDriveDetail(sDrive, @DriveInfo);
|
||||||
SetReadOnly(sDrive, DriveInfo.nDiskNum, false);
|
// SetReadOnly(sDrive, DriveInfo.nDiskNum, false);
|
||||||
end;
|
// end;
|
||||||
end else
|
// end else
|
||||||
ThdUsbMonRO_.AddDrive(sDrive);
|
// ThdUsbMonRO_.AddDrive(sDrive);
|
||||||
end else
|
// end else
|
||||||
if ModePolicy.UsbBlockKind <> ubkBlock then
|
// if ModePolicy.UsbBlockKind <> ubkBlock then
|
||||||
begin
|
// begin
|
||||||
if IsReadOnlyByWriteProbe(sDrive) = 1 then
|
// if IsReadOnlyByWriteProbe(sDrive) = 1 then
|
||||||
begin
|
// begin
|
||||||
_Trace('읽기전용 속성 감지됨 .. Drive=%s', [sDrive], 2);
|
// _Trace('읽기전용 속성 감지됨 .. Drive=%s', [sDrive], 2);
|
||||||
GetDriveDetail(sDrive, @DriveInfo);
|
// GetDriveDetail(sDrive, @DriveInfo);
|
||||||
SetReadOnly(sDrive, DriveInfo.nDiskNum, false);
|
// SetReadOnly(sDrive, DriveInfo.nDiskNum, false);
|
||||||
_Trace('읽기전용 속성 해제 .. Drive=%s', [sDrive], 2);
|
// _Trace('읽기전용 속성 해제 .. Drive=%s', [sDrive], 2);
|
||||||
end;
|
// end;
|
||||||
end;
|
// end;
|
||||||
end;
|
// end;
|
||||||
|
|
||||||
try
|
try
|
||||||
if UsbConnList_.IndexOf(sDrive) = -1 then
|
if UsbConnList_.IndexOf(sDrive) = -1 then
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue