Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for cpsr (0.08 sec)

  1. src/runtime/mkpreempt.go

    		if i == 10 {
    			continue // R10 is g register, no need to save/restore
    		}
    		l.add("MOVW", reg, 4)
    	}
    	// Add flag register.
    	l.addSpecial(
    		"MOVW CPSR, R0\nMOVW R0, %d(R13)",
    		"MOVW %d(R13), R0\nMOVW R0, CPSR",
    		4)
    
    	// Add floating point registers F0-F15 and flag register.
    	var lfp = layout{stack: l.stack, sp: "R13"}
    	lfp.addSpecial(
    		"MOVW FPCR, R0\nMOVW R0, %d(R13)",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. pkg/registry/certificates/certificates/strategy.go

    	csr := obj.(*certificates.CertificateSigningRequest)
    
    	// Clear any user-specified info
    	csr.Spec.Username = ""
    	csr.Spec.UID = ""
    	csr.Spec.Groups = nil
    	csr.Spec.Extra = nil
    	// Inject user.Info from request context
    	if user, ok := genericapirequest.UserFrom(ctx); ok {
    		csr.Spec.Username = user.GetName()
    		csr.Spec.UID = user.GetUID()
    		csr.Spec.Groups = user.GetGroups()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 21:41:43 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  3. cmd/kubelet/app/server_bootstrap_test.go

    		csr, err := getCSR(req)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if csr.Name == "" {
    			csr.Name = "test-csr"
    		}
    
    		csr.UID = types.UID("1")
    		csr.ResourceVersion = "1"
    		data := mustMarshal(csr)
    		w.Header().Set("Content-Type", "application/json")
    		w.Write(data)
    
    		csr = csr.DeepCopy()
    		csr.ResourceVersion = "2"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  4. pkg/controller/certificates/signer/signer_test.go

    		name string
    		// parameters to be set on the generated CSR
    		commonName string
    		dnsNames   []string
    		org        []string
    		usages     []capi.KeyUsage
    		// whether the generated CSR should be marked as approved
    		approved bool
    		// whether the generated CSR should be marked as failed
    		failed bool
    		// the signerName to be set on the generated CSR
    		signerName string
    		// if true, expect an error to be returned
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 02 21:12:04 UTC 2022
    - 15K bytes
    - Viewed (0)
  5. pkg/apis/certificates/v1beta1/defaults_test.go

    	strPtr := func(s string) *string { return &s }
    	tests := map[string]struct {
    		csr                capi.CertificateSigningRequestSpec
    		expectedSignerName string
    		expectedUsages     []capi.KeyUsage
    	}{
    		"defaults to legacy-unknown if request is not a CSR": {
    			csr: capi.CertificateSigningRequestSpec{
    				Request: []byte("invalid data"),
    				Usages:  kubeletServerUsages,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  6. pkg/controller/certificates/signer/signer.go

    	if err != nil {
    		return fmt.Errorf("unable to parse csr %q: %v", csr.Name, err)
    	}
    	if recognized, err := s.isRequestForSignerFn(x509cr, csr.Spec.Usages, csr.Spec.SignerName); err != nil {
    		csr.Status.Conditions = append(csr.Status.Conditions, capi.CertificateSigningRequestCondition{
    			Type:           capi.CertificateFailed,
    			Status:         v1.ConditionTrue,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 15 03:26:08 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. pkg/apis/certificates/validation/validation.go

    	}
    	if csr.Spec.ExpirationSeconds != nil && *csr.Spec.ExpirationSeconds < 600 {
    		allErrs = append(allErrs, field.Invalid(specPath.Child("expirationSeconds"), *csr.Spec.ExpirationSeconds, "may not specify a duration less than 600 seconds (10 minutes)"))
    	}
    	allErrs = append(allErrs, validateConditions(field.NewPath("status", "conditions"), csr, opts)...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/certificates.go

    	if missingSingleSigningFile && !anySpecificFilesSet(controllerContext.ComponentConfig.CSRSigningController) {
    		logger.Info("Skipping CSR signer controller because no csr cert/key was specified")
    		return nil, false, nil
    	}
    	if !missingSingleSigningFile && anySpecificFilesSet(controllerContext.ComponentConfig.CSRSigningController) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. security/pkg/k8s/chiron/utils_test.go

    	go func() {
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case r := <-w.ResultChan():
    				csr := r.Object.(*cert.CertificateSigningRequest).DeepCopy()
    				if csr.Status.Certificate != nil {
    					log.Debugf("test signer skip, already signed: %v", csr.Name)
    					continue
    				}
    				if approved(csr) {
    					// This is a pretty terrible hack, but client-go fake doesn't properly support list+watch,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. pkg/registry/certificates/certificates/storage/metrics_test.go

    					SignerName:        "pandas",
    					ExpirationSeconds: csr.DurationToExpirationSeconds(time.Hour),
    				},
    			},
    			options:       &metav1.UpdateOptions{DryRun: []string{"stuff"}},
    			wantSigner:    "",
    			wantRequested: false,
    			wantHonored:   false,
    		},
    		{
    			name:    "old CSR already has a cert so it is ignored",
    			success: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top