File: fu-system76-launch.rs

package info (click to toggle)
fwupd 2.0.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 32,504 kB
  • sloc: ansic: 277,388; python: 11,485; xml: 9,493; sh: 1,625; makefile: 167; cpp: 19; asm: 11; javascript: 9
file content (9 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
// Copyright 2025 Richard Hughes <richard@hughsie.com>
// SPDX-License-Identifier: LGPL-2.1-or-later

enum FuSystem76LaunchSecurityState {
    Lock,           // flashing is prevented, cannot be set with CMD_SECURITY_SET
    Unlock,         // flashing is allowed, cannot be set with CMD_SECURITY_SET
    PrepareLock,    // flashing will be prevented on the next reboot
    PrepareUnlock,  // flashing will be allowed on the next reboot
}