Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for system_u (0.16 sec)

  1. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    	seLinuxTranslator := util.NewFakeSELinuxLabelTranslator()
    	dsw := NewDesiredStateOfWorld(&volumePluginMgr, seLinuxTranslator)
    	seLinux := v1.SELinuxOptions{
    		User:  "system_u",
    		Role:  "object_r",
    		Type:  "container_t",
    		Level: "s0:c1,c2",
    	}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod1",
    			UID:  "pod1uid",
    		},
    		Spec: v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. pkg/volume/util/selinux.go

    func (l *fakeTranslator) SELinuxOptionsToFileLabel(opts *v1.SELinuxOptions) (string, error) {
    	if opts == nil {
    		return "", nil
    	}
    	// Fill empty values from "system defaults" (taken from Fedora Linux).
    	user := opts.User
    	if user == "" {
    		user = "system_u"
    	}
    
    	role := opts.Role
    	if role == "" {
    		role = "object_r"
    	}
    
    	// opts is context of the *process* to run in a container. Translate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 14:40:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	fullOpts := &v1.SELinuxOptions{
    		User:  "system_u",
    		Role:  "object_r",
    		Type:  "container_t",
    		Level: "s0:c1,c2",
    	}
    	differentFullOpts := &v1.SELinuxOptions{
    		User:  "system_u",
    		Role:  "object_r",
    		Type:  "container_t",
    		Level: "s0:c9998,c9999",
    	}
    	partialOpts := &v1.SELinuxOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

        #import "test3"
        #include "test4"
        #import <system1>
        #import <system2>
        #include <system3>
        #import <system4>
        #include DEFINED1
        #import DEFINED2
    """
            then:
            includes == ['"test2"', '"test4"', '<system3>', 'DEFINED1'].collect { include(it) }
            imports == ['"test1"', '"test3"', '<system1>', '<system2>', '<system4>', 'DEFINED2'].collect { include(it, true) }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  5. pkg/kubelet/nodeshutdown/systemd/inhibit_linux.go

    }
    
    // DBusCon has functions that can be used to interact with systemd and logind over dbus.
    type DBusCon struct {
    	SystemBus dBusConnector
    }
    
    func NewDBusCon() (*DBusCon, error) {
    	conn, err := dbus.SystemBus()
    	if err != nil {
    		return nil, err
    	}
    
    	return &DBusCon{
    		SystemBus: conn,
    	}, nil
    }
    
    // InhibitLock is a lock obtained after creating an systemd inhibitor by calling InhibitShutdown().
    type InhibitLock uint32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/DefaultSourceIncludesTest.groovy

            sourceIncludes.systemIncludes.collect { it.value } == [ "system1", "system2" ]
            sourceIncludes.macroIncludes.collect { it.value } == [ "macro1", "macro2" ]
        }
    
        def "order of includes is preserved" () {
            expect:
            sourceIncludes.all.collect { it.value } == ["quoted1", "system1", "quoted2", "macro1", "system2", "macro2" ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. pkg/kubelet/nodeshutdown/systemd/inhibit_linux_test.go

    	var fakeFd uint32 = 42
    
    	bus := DBusCon{
    		SystemBus: &fakeSystemDBus{
    			fakeDBusObject: &fakeDBusObject{
    				bodyValue: fakeFd,
    			},
    		},
    	}
    
    	fdLock, err := bus.InhibitShutdown()
    	assert.Equal(t, InhibitLock(fakeFd), fdLock)
    	assert.NoError(t, err)
    }
    
    func TestReloadLogindConf(t *testing.T) {
    	bus := DBusCon{
    		SystemBus: &fakeSystemDBus{
    			fakeDBusObject: &fakeDBusObject{},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 19:50:06 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    	localStorageStateFile          = "graceful_node_shutdown_state"
    )
    
    var systemDbus = func() (dbusInhibiter, error) {
    	return systemd.NewDBusCon()
    }
    
    type dbusInhibiter interface {
    	CurrentInhibitDelay() (time.Duration, error)
    	InhibitShutdown() (systemd.InhibitLock, error)
    	ReleaseInhibitLock(lock systemd.InhibitLock) error
    	ReloadLogindConf() error
    	MonitorShutdown() (<-chan bool, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/orig/view/error/system.jsp

    Shinsuke Sugaya <******@****.***> 1676636021 +0900
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/error/system.jsp

    Shinsuke Sugaya <******@****.***> 1676636021 +0900
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top